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