public Account GetByUserName(string userName) { return(_context.Account.SingleOrDefault(AccountQueries.GetByUserName(userName))); }