public async Task <ActionResult <IEnumerable <Calendar> > > GetCalendarBySalon(string salonId) { try { var beauty = await _repository.GetCalendarBySalon(salonId); return(Ok(beauty)); } catch (Exception exc) { _logger.LogError($"Error: {exc}"); // transaction.Rollback(); return(NotFound()); } }