예제 #1
0
 public void EditClientType(ClientType clientType)
 {
     TypeName    = clientType.TypeName;
     MinutePrice = clientType.MinutePrice;
     SMSPrice    = clientType.SMSPrice;
 }
예제 #2
0
 public Client(int id, int clientIdNumber, string name, string lastName, int clientTypeId, ClientType clientType, string address, string contactNameber, int callsToCenter = 0, bool deleted = false)
 {
     Id             = id;
     ClientIdNumber = clientIdNumber;
     Name           = name;
     LastName       = lastName;
     ClientTypeId   = clientTypeId;
     ClientType     = clientType;
     Address        = address;
     ContactNameber = contactNameber;
     CallsToCenter  = callsToCenter;
     Deleted        = deleted;
 }