public async Task UpdateAsync(string id, EntityDTO entityDTO) { await _entityService.UpdateAsync(id, Mapper.Map <Entity>(entityDTO)); }
public async Task AddAsync(EntityDTO entityDTO) { await _entityService.AddAsync(Mapper.Map <Entity>(entityDTO)); }