Ejemplo n.º 1
0
        /****************EquipmentSite***********************/
        public static EquipmentSites EquipmentSiteToDB(CommonEquipmentSite commonEquipmentSite)
        {
            EquipmentSites EquipmentSite = new EquipmentSites()
            {
                EquipmentId = commonEquipmentSite.EquipmentId,
                SiteId      = commonEquipmentSite.SiteId
                              //Sites = SiteToDB(commonEquipmentSite.Sites),
                              //Equipment = EquipmentToDB(commonEquipmentSite.Equipment)
            };

            return(EquipmentSite);
        }
Ejemplo n.º 2
0
        public static CommonEquipmentSite EquipmentSiteToCommon(EquipmentSites equipmentSite)
        {
            CommonEquipmentSite commonEquipmentSite = new CommonEquipmentSite()
            {
                EquipmentId = equipmentSite.EquipmentId,
                SiteId      = equipmentSite.SiteId
                              //Sites = SiteToCommon(equipmentSite.Sites),
                              //Equipment = EquipmentToCommon(equipmentSite.Equipment)
            };

            return(commonEquipmentSite);
        }