Пример #1
0
 public void CreateOutlet(outlet ot)
 {
     if (ot == null)
     {
         throw new ArgumentNullException(nameof(ot));
     }
     _context.outlets.Add(ot);
 }
Пример #2
0
 public void DeleteOutlet(outlet ot)
 {
     if (ot == null)
     {
         throw new ArgumentNullException(nameof(ot));
     }
     _context.outlets.Remove(ot);
 }
Пример #3
0
 public void UpdateOutlet(outlet ot)
 {
     //Nothing
 }
 public void CreateOutlet(outlet ot)
 {
     throw new NotImplementedException();
 }