public static AuthorModel GetAuthorBySlug(string slug) { var author = StoredProcs.Authors_GetAuthorBySlug(slug).Execute(); if (author == null) { return(null); } return(AuthorModel.FromTable(author)); }