Exemplo n.º 1
0
 public ActionResult Save(Bam.Net.CoreServices.ServiceRegistration.Data.Dao.ServiceDescriptor[] values)
 {
     try
     {
         ServiceDescriptorCollection saver = new ServiceDescriptorCollection();
         saver.AddRange(values);
         saver.Save();
         return(Json(new { Success = true, Message = "", Dao = "" }));
     }
     catch (Exception ex)
     {
         return(GetErrorResult(ex));
     }
 }
Exemplo n.º 2
0
 public MethodDescriptorCreator(object[] args, ServiceDescriptorCollection descriptors)
 {
     Args        = args ?? _emptyArgs;
     Descriptors = descriptors;
 }