public void PaycheckService_Get_Should_Return_Null_If_No_Employee_Found()
        {
            mockEmployeeRepository
            .Setup(_ => _.Get(It.IsAny <string>()))
            .Returns <Paycheck>(null);

            var paycheck = paycheckService.Get(string.Empty);
        }
        public IActionResult Get(string name)
        {
            var employee = employeeService.Get(name);
            var paycheck = paycheckService.Get(name);

            var model = new ViewEmployeeModel
            {
                Employee = employee,
                Paycheck = paycheck
            };

            return(View(model));
        }