public async Task <HttpResponseMessage> ByEmail(string email) { try { var account = _swap.GetAccountByEmail(email); return(await Response(new { account.Id, account.CreatedAt, account.Email, account.Role })); } catch (Exception ex) { return(await ExResponse(ex)); } }