public IEnumerable <Genre> GetAllGenres() { var x = GenreQueryHandlerFactory.Build(new AllGenresQuery(), db); return(x.Get()); }
public Genre GetGenre(Guid id) { return(GenreQueryHandlerFactory.Build(new OneGenreQuery(id), db).Get()); }