public Genre GetGenreByName(string name) { Genre gnr = new Genre(); ChkContext(); using (context) { gnr = DALServices.GetGenreByname(context, name); } ClearContext(); return(gnr); }
public Genre GetGenreByName(string name) { Genre gnr = new Genre(); ChkContext(); using (context) { gnr = DALServices.GetGenreByname(context, name); } ClearContext(); return(gnr); }