Example #1
0
 public void Delete(ERatings item)
 {
     if (item != null)
     {
         _item.Delete(item);
         Save();
     }
 }
Example #2
0
 public ERatings Add(ERatings item)
 {
     if (item != null)
     {
         ERatings temp = _item.Add(item);
         Save();
         return(temp);
     }
     else
     {
         throw new Exception("This Subject Alredy Added");
     }
 }
Example #3
0
 public void Delete(ERatings item)
 {
     _context.Ratings.Remove(item);
 }
Example #4
0
 public ERatings Add(ERatings item)
 {
     return(_context.Ratings.Add(item));
 }