public void SaveDetails(TraCcfDetailDto details, Login userLogin) { TRA_CCF_DETAIL detailCCF = Mapper.Map <TRA_CCF_DETAIL>(details); _ccfService.Save_d1(detailCCF); }
public void SaveDetails(TRA_CCF_DETAIL details, Login currentUser) { _traCcfRepositoryD1.InsertOrUpdate(details, currentUser, Enums.MenuList.TraCcf); _uow.SaveChanges(); }
public void save(TRA_CCF dbTraCCF, TRA_CCF_DETAIL dbTraCCFD1) { _uow.GetGenericRepository <TRA_CCF>().InsertOrUpdate(dbTraCCF); _uow.GetGenericRepository <TRA_CCF_DETAIL>().InsertOrUpdate(dbTraCCFD1); _uow.SaveChanges(); }
public void Save_d1(TRA_CCF_DETAIL dbCcfd1) { _traCcfRepositoryD1.InsertOrUpdate(dbCcfd1); _uow.SaveChanges(); }