public async Task <int> UpdateAsync(SeminarDTO entity) { return(await seminarRepository.UpdateAsync(entity)); }
public async Task <int> DeleteAsync(SeminarDTO entity) { return(await genericRepository.DeleteAsync(mapper.Map <Seminar>(entity))); }
public async Task <int> UpdateAsync(SeminarDTO entity) { Expression <Func <Seminar, Guid> > test = x => entity.Id; return(await genericRepository.UpdateAsync(mapper.Map <Seminar>(entity))); }
public async Task <int> AddAsync(SeminarDTO entity) { entity.Id = Guid.NewGuid(); return(await genericRepository.AddAsync(mapper.Map <Seminar>(entity))); }