public async Task <IHttpActionResult> GetFee(int id) { Fee fee = await rep.GetFeeAsync(id); if (fee == null) { return(NotFound()); } return(Ok(fee.toDTO())); }