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))); }
public async Task <int> UpdateAsync(IOcjeneDomainModel updated) { return(await Reporsitory.UpdateAsync(Mapper.Map <Ocjene>(updated))); }
public async Task <int> AddAsync(IOcjeneDomainModel addObj) { return(await Reporsitory.AddAsync(Mapper.Map <Ocjene>(addObj))); }
public async Task <int> Update(IOcjeneDomainModel updated) { return(await OcjeneGenericReporsitory.UpdateAsync(updated)); }
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)); }