示例#1
0
        public Rating AddRating(Rating newgnr)
        {
            Rating gnr = new Rating();

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