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