Example #1
0
 public static void Dispatch(this EmployeeDTO employee, CaseDTO @case, string queueName, ClarifySession clarifySession)
 {
     new SupportToolkit(clarifySession).DispatchCase(new DispatchCaseSetup(@case.IDNumber, queueName)
     {
         UserName = employee.Login
     });
 }
Example #2
0
 public static void Assign(this CaseDTO @case, EmployeeDTO employee, ClarifySession clarifySession)
 {
     new SupportToolkit(clarifySession).AssignCase(new AssignCaseSetup(@case.IDNumber)
     {
         UserName = employee.Login
     });
 }
Example #3
0
 public static void Yank(this EmployeeDTO employee, CaseDTO @case, ClarifySession clarifySession)
 {
     new SupportToolkit(clarifySession).YankCase(new YankCaseSetup(@case.IDNumber)
     {
         UserName = employee.Login
     });
 }
            public override void beforeAll()
            {
                base.beforeAll();

                _case = new ObjectMother(AdministratorClarifySession).CreateCase();
                var assembler = Container.GetInstance <IModelBuilder <ViewToTableModel> >();

                _viewToTableModel = assembler.Get(FilterType.Equals("id_number", _case.IDNumber)).First();
            }
Example #5
0
        public static void AddNotes(this CaseDTO @case, int numberOfNotes, ClarifySession clarifySession)
        {
            var supportToolkit = new SupportToolkit(clarifySession);

            for (var i = 0; i < numberOfNotes; i++)
            {
                supportToolkit.LogCaseNote(new LogCaseNoteSetup(@case.IDNumber)
                {
                    Notes = "case notes"
                });
            }
        }
 public static void Yank(this EmployeeDTO employee, CaseDTO @case, ClarifySession clarifySession)
 {
     new SupportToolkit(clarifySession).YankCase(new YankCaseSetup(@case.IDNumber) { UserName = employee.Login });
 }
 public static void LinkCaseToFirstSolutionResolution(this SolutionDTO solution, CaseDTO @case, ClarifySession clarifySession)
 {
     new InterfacesToolkit(clarifySession).LinkCaseToWorkaround(@case.IDNumber, solution.Resolutions[0]);
 }
 public static void Dispatch(this EmployeeDTO employee, CaseDTO @case, string queueName, ClarifySession clarifySession)
 {
     new SupportToolkit(clarifySession).DispatchCase(new DispatchCaseSetup(@case.IDNumber, queueName) { UserName = employee.Login });
 }
Example #9
0
 public static void Dispatch(this CaseDTO @case, string queueName, ClarifySession clarifySession)
 {
     new SupportToolkit(clarifySession).DispatchCase(new DispatchCaseSetup(@case.IDNumber, queueName));
 }
Example #10
0
 public static void LinkCaseToFirstSolutionResolution(this SolutionDTO solution, CaseDTO @case, ClarifySession clarifySession)
 {
     new InterfacesToolkit(clarifySession).LinkCaseToWorkaround(@case.IDNumber, solution.Resolutions[0]);
 }