public WorkOrderRequestViewModal(int bid)
 {
     _BuildingID        = bid;
     _tblBuildingSystem = new tblBuildingSystem();
     BuildingSystemList = _tblBuildingSystem.GetAll();
     _tblPriority       = new tblPriority();
     PriorityList       = _tblPriority.GetAll();
 }
        public FacilityViewModal(int locid)
        {
            _locid = locid;

            _tblBuildingSystem  = new tblBuildingSystem();
            _tblProject         = new tblProject();
            _tblServiceContract = new tblServiceContract();

            BuildingSystemList  = _tblBuildingSystem.GetAll();
            ProjectList         = _tblProject.GetAll();
            ServiceContractList = _tblServiceContract.GetAll();
        }
        public FCASystemViewModal(int id)
        {
            _locid             = id;
            _tblBuildingSystem = new tblBuildingSystem();
            _tblSystemElement  = new tblSystemElement();
            _tblRating         = new tblRating();
            _tblSystemType     = new tblSystemType();

            BuildingSystemList = _tblBuildingSystem.GetAll();
            SystemElementList  = new List <SystemElement>()
            {
                new SystemElement {
                    SystemElementID = 0, SystemElementName = "Select System Element"
                }
            };
            RatingList     = _tblRating.GetAll();
            SystemTypeList = _tblSystemType.GetAll();
            //isRepairList = new IList<string> { "Yes", "No"};
        }