public async Task <BalanceDTO> GetItemByID(int id) { var entity = await dbContext.FindAsync(typeof(Balance), id); var dto = mapper.Map <BalanceDTO>(entity); return(dto); }
public async Task <BalanceDTO> GetItemByID(int id) { var entity = await dbContext.FindAsync(typeof(Balance), id); var dto = mapper.Map <BalanceDTO>(entity); return(dto); }