public WardenAssignmentVM() { web = new MasterServices((MasterI)this, (IWardenAssignment)this); student = new StudentService(this); web.GetAllArea(); student.GetAllWarden(); }
public RoomVM() { web = new MasterServices(this, this); RoomProperty = new Properties(); web.GetAllRomType1(); web.GetAllArea(); }
public EditHostelVM(string hostelid, string hostelname, string areaid, string zipcode, string address, string phone, string email, string genderhostel) { //IsCheck1 = true; HostelModel.id = hostelid; HostelModel.hostelName = hostelname; HostelModel.areaId = areaid; HostelModel.zipCode = zipcode; HostelModel.addressLine1 = address; HostelModel.phoneNo = phone; HostelModel.email = email; HostelModel.hostelForGender = genderhostel; if (HostelModel.hostelForGender == "Female") { IsCheck2 = true; } else { IsCheck1 = true; } updateHostel = new UpdateHostel(); AreaIds = areaid; Check1Clicked = new Command(check1Clicked); Check2Clicked = new Command(check2Clicked); web = new MasterServices((MasterI)this, (EditHostelI)this); web.GetAllArea(); }
public StudentHostelAdmissionVM() { web = new StudentService((HostelAdmissionI)this, (Icoursedetail)this, (ProfileI)this); masters = new MasterServices((RoomBedI1)this, (MasterI)this, (FloorI)this); web.GetProfiile(App.userid); masters.GetAllArea(); masters.GetAllRomType(); web.GetCourseList(); }
public EditRoomTypeVM(string roomid, string userid, string hostelroomtypename, string hostelid) { UpdateRoomTypeModel.id = roomid; UpdateRoomTypeModel.userId = userid; UpdateRoomTypeModel.hostelRoomTypeName = hostelroomtypename; //UpdateRoomTypeModel.hostelId = hostelid; web = new MasterServices((MasterI)this, (EditRoomTypeI)this); web.GetAllArea(); }
public GuestRegBeforeLoginVM() { web = new MasterServices((MasterI)this, (RoomListI)this); guestServices = new GuestServices(this); IsCheck1 = true; Check1Clicked = new Command(check1Clicked); Check2Clicked = new Command(check2Clicked); web.GetAllArea(); }
public BlockVM() { AreaVisible = false; HostelVisible = false; BlockData = new BlockModel(); web = new MasterServices((MasterI)this, this); // send id into base 64 formate web.GetAllArea(); //web.GetAllHostel(AreaModelList[0]); }
public HostelVM() { AreaVisible = false; IsCheck1 = true; Check1Clicked = new Command(check1Clicked); Check2Clicked = new Command(check2Clicked); web = new MasterServices((MasterI)this, (HostelI)this); // send id into base 64 formate web.GetAllArea(); }
public FloorVM() { FloorProp.AreaVisible = false; FloorProp.HostelVisible = false; FloorProp.BlockVisible = false; FloorData = new FloorModel(); web = new MasterServices(this, this); // send id into base 64 formate web.GetAllArea(); web.GetAllRomType(); }