public async Task <int> AddAsync(IOcjeneDomainModel addObj)
 {
     return(await unitOfWork.OcjeneRepository.AddAsync(Mapper.Map <Ocjena>(addObj)));
 }
 public async Task <int> UpdateAsync(IOcjeneDomainModel updated)
 {
     return(await unitOfWork.OcjeneRepository.UpdateAsync(Mapper.Map <Ocjena>(updated)));
 }
예제 #3
0
 public async Task <int> UpdateAsync(IOcjeneDomainModel updated)
 {
     return(await Reporsitory.UpdateAsync(Mapper.Map <Ocjene>(updated)));
 }
예제 #4
0
 public async Task <int> AddAsync(IOcjeneDomainModel addObj)
 {
     return(await Reporsitory.AddAsync(Mapper.Map <Ocjene>(addObj)));
 }
예제 #5
0
 public async Task <int> Update(IOcjeneDomainModel updated)
 {
     return(await OcjeneGenericReporsitory.UpdateAsync(updated));
 }
예제 #6
0
 public async Task <int> Add(IOcjeneDomainModel addObj)
 {
     return(await OcjeneGenericReporsitory.AddAsync(addObj));
 }
 public async Task <int> AddAsync(IOcjeneDomainModel addObj)
 {
     addObj.OcjenaId   = Guid.NewGuid();
     addObj.DatumUpisa = DateTime.Now.Date;
     return(await ocjeneGenericReporsitory.AddAsync(addObj));
 }