Exemple #1
0
        public void TestGetPersons()
        {
            ResidenceSvcBL objResidenceSvcBL = new ResidenceSvcBL();

            Wing objWing = new Wing();
            objWing.BldgId = 1;
            objWing.Name = "Wing A";
            objWing.Description = "Wing A";

            //Constructopn of Flats
            Flat objFlat = new Flat();
            objFlat.FlatNo = "602";
            objFlat.NoOfResidents = 6;

            objWing.Flats.Add(objFlat);

            objResidenceSvcBL.AddWings(objWing);
        }
Exemple #2
0
 public IList<FlatBO> GetFlatDetails(int societyId)
 {
     var objResidenceSvcBL = new ResidenceSvcBL();
     return objResidenceSvcBL.GetFlats(societyId);
 }