public ActionHistoryTarget(ActionHistoryTarget actionHistoryTarget)
 {
     ActionHistoryTargetType = actionHistoryTarget.ActionHistoryTargetType;
     CsrTarget = actionHistoryTarget.CsrTarget;
     CustomerTarget = actionHistoryTarget.CustomerTarget;
     QueueTarget = actionHistoryTarget.QueueTarget;
 }
        public static bool UpdateCustomer(Customer modifiedCustomer)
        {
            //Customer object would be modifed before calling this method

            bool isSuccess;

            var updateResponse = Service.Update(modifiedCustomer);

            isSuccess = !updateResponse.HasException;

            return isSuccess;
        }
Example #3
0
 public Customer(Customer customer)
     : base(customer)
 {
     Id = customer.Id;
     Account = customer.Account;
     Sla = customer.Sla;
     Date_Visited = customer.Date_Visited;
     Email = customer.Email;
     User_Name = customer.User_Name;
     First_Name = customer.First_Name;
     Tou = customer.Tou;
     Password = customer.Password;
     Password_Confirm = customer.Password_Confirm;
     Status = customer.Status;
     Customer_Role = customer.Customer_Role;
 }
 public ActionHistoryPerformer(ActionHistoryPerformer actionHistoryperformer)
 {
     ActionHistoryPerformerType = actionHistoryperformer.ActionHistoryPerformerType;
     CsrPerformer = actionHistoryperformer.CsrPerformer;
     CustomerPerformer = actionHistoryperformer.CustomerPerformer;
 }