private AddEmployeeCommand GetAddEmployeeCommand()
        {
            fakeDapperHub = A.Fake<IDapperHub>();
            fakeCommandFactory = A.Fake<ICommandFactory>();

            return new AddEmployeeCommand(fakeDapperHub, fakeCommandFactory);
        }
예제 #2
0
        private AddEmployeeCommand GetAddEmployeeCommand()
        {
            fakeDapperHub      = A.Fake <IDapperHub>();
            fakeCommandFactory = A.Fake <ICommandFactory>();

            return(new AddEmployeeCommand(fakeDapperHub, fakeCommandFactory));
        }
        private GetAllEmployeesQuery GetAllEmployeesQueryObject()
        {
            fakeDapperHub = A.Fake<IDapperHub>();

            return new GetAllEmployeesQuery(fakeDapperHub);
        }
 public GetAllEmployeesQuery(IDapperHub dapperHub)
 {
     this.dapperHub = dapperHub;
     Execute        = ExecuteQuery;
 }
 public DeleteEmployeeCommand(IDapperHub dapperHub)
 {
     this.dapperHub = dapperHub;
     Execute = ExecuteCommand;
 }
 public AddNewCheckInCommand(IDapperHub dapperHub)
 {
     this.dapperHub = dapperHub;
 }
 public GetAllEmployeesQuery(IDapperHub dapperHub)
 {
     this.dapperHub = dapperHub;
     Execute = ExecuteQuery;
 }
 public GetPayrollForEmployeeQuery(IDapperHub dapperHub)
 {
     this.dapperHub = dapperHub;
     Execute = ExecuteCommand;
 }
 public AddDependentsCommand(IDapperHub dapperHub)
 {
     this.dapperHub = dapperHub;
     Execute        = ExecuteCommand;
 }
 public GetDepedentsForEmployeeQuery(IDapperHub dapperHub)
 {
     this.dapperHub = dapperHub;
     Execute        = ExecuteQuery;
 }
        private AddDependentsCommand GetAddDependentsCommand()
        {
            fakeDapperHub = A.Fake<IDapperHub>();

            return new AddDependentsCommand(fakeDapperHub);
        }
        private GetPayrollForEmployeeQuery GetPayrollForEmployeeQueryObject()
        {
            fakeDapperHub = A.Fake<IDapperHub>();

            return new GetPayrollForEmployeeQuery(fakeDapperHub);
        }
        private AddDependentsCommand GetAddDependentsCommand()
        {
            fakeDapperHub = A.Fake <IDapperHub>();

            return(new AddDependentsCommand(fakeDapperHub));
        }
예제 #14
0
 public AddEmployeeCommand(IDapperHub dapperHub, ICommandFactory commandFactory)
 {
     this.dapperHub      = dapperHub;
     this.commandFactory = commandFactory;
     Execute             = ExecuteQuery;
 }
        private DeleteEmployeeCommand GetDeleteEmployeeCommand()
        {
            fakeDapperHub = A.Fake <IDapperHub>();

            return(new DeleteEmployeeCommand(fakeDapperHub));
        }
 public DeleteEmployeeCommand(IDapperHub dapperHub)
 {
     this.dapperHub = dapperHub;
     Execute        = ExecuteCommand;
 }
예제 #17
0
 public AddDependentsCommand(IDapperHub dapperHub)
 {
     this.dapperHub = dapperHub;
     Execute = ExecuteCommand;
 }
        private GetDepedentsForEmployeeQuery GetDependentsForEmployeeQueryObject()
        {
            fakeDapperHub = A.Fake<IDapperHub>();

            return new GetDepedentsForEmployeeQuery(fakeDapperHub);
        }
예제 #19
0
 public AddEmployeeCommand(IDapperHub dapperHub, ICommandFactory commandFactory)
 {
     this.dapperHub = dapperHub;
     this.commandFactory = commandFactory;
     Execute = ExecuteQuery;
 }
 public HasUserCheckedInAlreadyTodayQuery(IDapperHub dapperHub)
 {
     this.dapperHub = dapperHub;
 }
 public GetDepedentsForEmployeeQuery(IDapperHub dapperHub)
 {
     this.dapperHub = dapperHub;
     Execute = ExecuteQuery;
 }
        private GetAllEmployeesQuery GetAllEmployeesQueryObject()
        {
            fakeDapperHub = A.Fake <IDapperHub>();

            return(new GetAllEmployeesQuery(fakeDapperHub));
        }
 public GetThisWeeksCheckInsQuery(IDapperHub dapperHub)
 {
     this.dapperHub = dapperHub;
 }
        private DeleteEmployeeCommand GetDeleteEmployeeCommand()
        {
            fakeDapperHub = A.Fake<IDapperHub>();

            return new DeleteEmployeeCommand(fakeDapperHub);
        }
예제 #25
0
 public GetPayrollForEmployeeQuery(IDapperHub dapperHub)
 {
     this.dapperHub = dapperHub;
     Execute        = ExecuteCommand;
 }
예제 #26
0
        private GetDepedentsForEmployeeQuery GetDependentsForEmployeeQueryObject()
        {
            fakeDapperHub = A.Fake <IDapperHub>();

            return(new GetDepedentsForEmployeeQuery(fakeDapperHub));
        }
예제 #27
0
        private GetPayrollForEmployeeQuery GetPayrollForEmployeeQueryObject()
        {
            fakeDapperHub = A.Fake <IDapperHub>();

            return(new GetPayrollForEmployeeQuery(fakeDapperHub));
        }