Beispiel #1
0
 public ActionResult CrearDepartamento(Departamento model)
 {
     _departamentoRepository.Save(model);
     return(RedirectToAction("ListarDepartamentos"));
 }
Beispiel #2
0
 public async Task Insert(DepartamentoDTO entityDTO)
 {
     var entity =
         Builders.GenericBuilder.builderDTOEntity <TDepartamento, DepartamentoDTO>(entityDTO);
     await repository.Save(entity);
 }
Beispiel #3
0
 public TbPrDepartamento Save(TbPrDepartamento domain)
 {
     return(reposistory.Save(domain));
 }