public IActionResult Create(int id)
        {
            var model = new AddInspectionPostModel()
            {
                BeehiveId = id,
            };

            return(this.View(model));
        }
        public async Task <IActionResult> Create(AddInspectionPostModel input)
        {
            if (this.ModelState.IsValid == false)
            {
                return(this.View(input));
            }

            await this.inspectionService.CreateAsync(
                input.Id, input.HiveCondition, input.HygieneLevel, input.HoneyCombsCount,
                input.HoneyInKilos, input.BeehiveWeight, input.Temperature);

            return(this.RedirectToAction(nameof(AllHivesWithInspections)));
        }