public Rating AddRating(Rating newgnr) { Rating gnr = new Rating(); ChkContext(); using (context) { gnr = DALServices.AddRating(context, newgnr); } ClearContext(); return(gnr); }
public Rating AddRating(Rating newgnr) { Rating gnr = new Rating(); ChkContext(); using (context) { gnr = DALServices.AddRating(context, newgnr); } ClearContext(); return(gnr); }