Example #1
0
 /// <summary>
 /// הוספת יחידת אירוח
 /// </summary>
 /// <param name="hostingUnit"></param>
 public void AddUnit(HostingUnit hostingUnit)
 {
     if (dal.IsUnitExist(hostingUnit))
     {
         throw new ExceptionMessage("HOSTING UNIT IS ALREADY EXISTS");
     }
     hostingUnit.HostingUnitKey = dal.AddUnit(hostingUnit);
     CreateOrderForNewHostingUnit(hostingUnit);
 }