public async Task Add_NoParams_SearchShiftViewModel()
        {
            // Arrange
            ShiftsController controller = this.GetController();
            // Act
            IActionResult result = await controller.Add();

            // Assert
            ViewResult viewResult = Assert.IsType <ViewResult>(result);

            Assert.IsType <AddShiftViewModel>(viewResult.Model);
        }
        public async Task Add_NoParams_LocationRepoHit()
        {
            // Arrange
            ILocationService locationService = Substitute.For <ILocationService>();
            ShiftsController controller      = this.GetController(locationService: locationService);
            // Act
            await controller.Add();

            // Assert
#pragma warning disable CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
            locationService.Received(1).Get();
#pragma warning restore CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
        }