示例#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();
 }