Пример #1
0
 public int SaveCheck(CheckForm form)
 {
     using (var uow = UnitOfWorkFactory.Create <NovelContext>())
     {
         var service = new CheckService(uow);
         var id      = service.SaveChanges(form);
         return(id);
     }
 }