public async Task <IActionResult> Create([Bind("Name,Id")] TimeEntity timeEntity)
        {
            if (ModelState.IsValid)
            {
                await _timeRepository.AddAsync(timeEntity);

                return(RedirectToAction(nameof(Index)));
            }
            return(View(timeEntity));
        }