常用方法
常用方法
常用方法
常用方法
public async Task <HttpResponseMessage> AddAccount(AccountRequest accountRequest) { if (accountRequest == null) { return(new HttpResponseMessage(HttpStatusCode.BadRequest)); } await _accountsService.AddNewAccount(accountRequest); return(new HttpResponseMessage(HttpStatusCode.Created)); }