Ejemplo n.º 1
0
 public ScheduleParamsHandler(string json, ScheduleEntryType entryType, IIndividualRepository individualRepository = null, IAssociateRepository associateRepository = null)
 {
     this._jsonVal              = json;
     this._entryType            = entryType;
     this._individualRepository = individualRepository;
     this._associateRepository  = associateRepository;
 }
Ejemplo n.º 2
0
 public ScheduleParamsHandler(string json, ScheduleEntryType entryType, IIndividualRepository individualRepository=null, IAssociateRepository associateRepository=null)
 {
     this._jsonVal = json;
     this._entryType = entryType;
     this._individualRepository = individualRepository;
     this._associateRepository = associateRepository;
 }
Ejemplo n.º 3
0
 public ScheduleActionHandler(string jsonVal, ScheduleEntryType entryType, IIndividualRepository individualRepository, IAssociateRepository associateReposiory, IScheduleParamsHandler scheduleParamsHandler)
 {
     _jsonVal               = jsonVal;
     _entryType             = entryType;
     _scheduleParamsHandler = scheduleParamsHandler;
     _individualRepository  = individualRepository;
     _associateRepository   = associateReposiory;
 }
Ejemplo n.º 4
0
 public ScheduleActionHandler(string jsonVal, ScheduleEntryType entryType, IIndividualRepository individualRepository = null, IAssociateRepository associateRepository = null)
 {
     _jsonVal = jsonVal;
     _individualRepository  = individualRepository;
     _associateRepository   = associateRepository;
     _entryType             = entryType;
     _scheduleParamsHandler = new ScheduleParamsHandler(_jsonVal, entryType, individualRepository, associateRepository);
 }
Ejemplo n.º 5
0
 public ScheduleActionHandler(string jsonVal,ScheduleEntryType entryType, IIndividualRepository individualRepository, IAssociateRepository associateReposiory, IScheduleParamsHandler scheduleParamsHandler)
 {
     _jsonVal = jsonVal;
     _entryType = entryType;
     _scheduleParamsHandler = scheduleParamsHandler;
     _individualRepository = individualRepository;
     _associateRepository = associateReposiory;
 }
Ejemplo n.º 6
0
 public ScheduleActionHandler(string jsonVal, ScheduleEntryType entryType, IIndividualRepository individualRepository=null, IAssociateRepository associateRepository=null)
 {
     _jsonVal = jsonVal;
     _individualRepository = individualRepository;
     _associateRepository = associateRepository;
     _entryType = entryType;
     _scheduleParamsHandler = new ScheduleParamsHandler(_jsonVal,entryType, individualRepository, associateRepository);
 }
Ejemplo n.º 7
0
 private void RunBulkScheduling(string jsonArgument, ScheduleEntryType type)
 {
     try
     {
         var handler = new ScheduleActionHandler(jsonArgument, ScheduleEntryType.Mutiple, null, associateRepo);
         handler.AssociateChangeHandle();
     }
     catch (Exception)
     {
         throw;
     }
 }
 public DailyScheduleEntryModelBase(ScheduleEntryType type, TimeSpan time)
     : this(type)
 {
     Time = time;
 }
 public DailyScheduleEntryModelBase(ScheduleEntryType type)
     : base(type)
 {
 }
Ejemplo n.º 10
0
        private void RunBulkScheduling(string jsonArgument, ScheduleEntryType type)
        {
            try
            {
                var handler = new ScheduleActionHandler(jsonArgument, ScheduleEntryType.Mutiple, null,associateRepo);
                handler.AssociateChangeHandle();
            }
            catch (Exception)
            {

                throw;
            }
        }