public async Task <int> UpdateAsync(IPredmetDomainModel updated)
 {
     return(await unitOfWork.PredmetiRepository.UpdateAsync(Mapper.Map <Predmet>(updated)));
 }
Ejemplo n.º 2
0
 public async Task <int> UpdateAsync(IPredmetDomainModel updated)
 {
     return(await predmetiGenericReporsitory.UpdateAsync(updated));
 }
 public async Task <int> AddAsync(IPredmetDomainModel addObj)
 {
     return(await unitOfWork.PredmetiRepository.AddAsync(Mapper.Map <Predmet>(addObj)));
 }
Ejemplo n.º 4
0
 public async Task <int> AddAsync(IPredmetDomainModel addObj)
 {
     addObj.Id = Guid.NewGuid();
     return(await predmetiGenericReporsitory.AddAsync(addObj));
 }