示例#1
0
 public BusinessModel(dbModel.Business model)
 {
     Id               = model.Id;
     Name             = model.Name;
     Barangay         = model.Barangay;
     City             = model.City;
     NatureOfBusiness = model.NatureOfBusiness;
     WorkSchedule     = model.WorkSchedule;
 }
示例#2
0
 public dbModel.Business ToBusinessDBModel()
 {
     dbModel.Business model = new dbModel.Business()
     {
         Name             = Name,
         Barangay         = Barangay,
         City             = City,
         NatureOfBusiness = NatureOfBusiness,
         WorkSchedule     = WorkSchedule
     };
     return(model);
 }