public IQueryable <Common.PatientStatus> GetPatientStatuses() { DataLayer.PatientsHandler dapat = new DataLayer.PatientsHandler(); return(dapat.GetPatientStatuses()); //2nd method which does the same thing //return new DataLayer.DAUsers().GetUsers(); }