Example #1
0
 public int Update(CasesDTO entity)
 {
     return(_caseDAL.Update(_mapper.Map <Cases>(entity)));
 }
Example #2
0
 public int Add(CasesDTO entity)
 {
     return(_caseDAL.Add(_mapper.Map <Cases>(entity)));
 }
Example #3
0
 public int Update(CasesDTO entity)
 {
     return(_caseRepo.Update(entity));
 }
Example #4
0
 public int Add(CasesDTO entity)
 {
     return(_caseRepo.Add(entity));
 }
 public IActionResult Uodate(CasesDTO model) => Ok(_caseDSL.Update(model));
 public IActionResult Add(CasesDTO model) => Ok(_caseDSL.Add(model));