public List <UserListVM> GetUserListVM() { var userListVM = _context.Set <UserListVM>().FromSql("GetUsers") .AsNoTracking() .ToList(); return(userListVM); }
public List <Account> GetAccounts() { var AccountList = context.Set <Account>().FromSql("GetAccounts") .AsNoTracking() .ToList(); return(AccountList); }