Ejemplo n.º 1
0
        public List <OrganisationScheduleDto> AddEmptyHolidayHrsSchedule()
        {
            var lst = new List <OrganisationScheduleDto>();
            var obj = new OrganisationScheduleDto()
            {
                HolidayDate = null,
                OpenTime    = TimeSpan.Parse("12:00"),
                ClosedTime  = TimeSpan.Parse("12:00"),
                IsHoliday   = true,
            };

            lst.Add(obj);
            return(lst);
        }
Ejemplo n.º 2
0
        public List <OrganisationScheduleDto> AddEmptySchedule()
        {
            var lst = new List <OrganisationScheduleDto>();
            var obj = new OrganisationScheduleDto()
            {
                WorkingDay = "Sunday",
                OpenTime   = TimeSpan.Parse("12:00"),
                ClosedTime = TimeSpan.Parse("12:00"),
            };

            lst.Add(obj);

            return(lst);
        }