public static void Execute(DivideForDayRequest request) { var days = new List <DateTime>(); var arens = new List <string>(); request.Days.ForEach(x => { days.Add(x.Day); arens.Add(x.Arena); }); DbHelper.DivideForDay(Guid.Parse(request.TurnamentId), request.Tour, days, arens); }
public void DivideForDay(DivideForDayRequest request) => DivideForDayBLL.Execute(request);