常用方法
常用方法
常用方法
常用方法
public async Task <HttpResponseMessage> GetAllReceipts() { var mapper = restReceiptMapperConfig.CreateMapper(); List <RestReceipt> list = mapper.Map <List <RestReceipt> >(await defaultService.ReturnAllReceipts()); return(Request.CreateResponse(HttpStatusCode.OK, list)); }