public async Task <ActionResult> PutScheduleAsync([FromBody] ScheduleViewModel model)
        {
            try
            {
                if (!ModelState.IsValid)
                {
                    return(BadRequest());
                }
                await _logic.PutAsync(model);

                return(Ok(model));
            }
            catch (Exception e)
            {
                return(StatusCode(500, e));
            }
        }