Exemplo n.º 1
0
 public BizForm SetFormControlOptions(BizForm form, IList <BizControlOption> formOptions)
 {
     if (form != null && formOptions != null)
     {
         return(FormRepo.SetFormOptions(form, formOptions));
     }
     return(form);
 }
Exemplo n.º 2
0
        public BizForm SetFormOptions(BizForm form, IDictionary <Guid, IList <BizControlOption> > formOptions)
        {
            if (form != null && formOptions != null)
            {
                IList <BizControlOption> options;

                if (formOptions.TryGetValue(form.Id, out options))
                {
                    return(FormRepo.SetFormOptions(form, options));
                }
            }
            return(form);
        }