public BaseModel.OperationResult <BaseModel.SolutionConfiguration> GetSolution(Guid solutionId, int version)
 {
     return(FunctionResultProxy.GetResult <OperationResult <SolutionConfiguration> >(delegate(OperationResult <SolutionConfiguration> r)
     {
         var sc = SolutionConfigurationDal.Get(solutionId);
         r.Data = sc;
         r.ActionResult = (r.Data != null);
         return r;
     }));
 }
示例#2
0
 public BaseModel.OperationResult <BaseModel.SolutionConfiguration> GetCompleteSolution(Guid solutionId)
 {
     return(FunctionResultProxy.GetResult <OperationResult <SolutionConfiguration> >(delegate(OperationResult <SolutionConfiguration> r)
     {
         var sc = SolutionConfigurationDal.Get(solutionId);
         if (sc != null)
         {
             sc.Components = ComponentConfigurationDal.GetList(solutionId);
             r.Data = sc;
         }
         r.ActionResult = (r.Data != null);
         return r;
     }));
 }