Пример #1
0
 public bool UpdateDrawerDetection(DrawerDetection drawerDetection)
 {
     _unitOfWork.DrawerDetectionRepository.Update(drawerDetection);
     _unitOfWork.SaveChangesAsync();
     return(true);
 }
Пример #2
0
 public void InsertDrawerDetection(DrawerDetection drawerDetection)
 {
     _unitOfWork.DrawerDetectionRepository.Add(drawerDetection);
     _unitOfWork.SaveChanges();
 }