SELECT [Extent1].[id] AS [id], [Extent1].[title] AS [title], [Extent1].[templateImage] AS [templateImage], [Extent1].[templatePost] AS [templatePost], [Extent1].[templateFile] AS [templateFile], [Extent1].[createdAt] AS [createdAt], [Extent1].[updatedAt] AS [updatedAt], [Extent1].[status] AS [status], [Extent1].[disabled] AS [disabled], [Extent1].[deleted] AS [deleted] FROM [dbo].[tbl_templates] AS [Extent1] WHERE NOT ((1 = [Extent1].[deleted]) AND ([Extent1].[deleted] IS NOT NULL)) ORDER BY [Extent1].[createdAt] DESC IEnumerable