public Spartan_Report_Fields_DetailController(ISpartan_Report_Fields_DetailService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, ISpartan_Report_Fields_DetailApiConsumer Spartan_Report_Fields_DetailApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer, ISpartan_Business_RuleApiConsumer Spartan_Business_RuleApiConsumer, ISpartan_BR_Process_Event_DetailApiConsumer Spartan_BR_Process_Event_DetailApiConsumer, ISpartan_Report_FunctionApiConsumer Spartan_Report_FunctionApiConsumer, ISpartan_Report_FormatApiConsumer Spartan_Report_FormatApiConsumer, ISpartan_Report_Order_TypeApiConsumer Spartan_Report_Order_TypeApiConsumer, ISpartan_Report_Field_TypeApiConsumer Spartan_Report_Field_TypeApiConsumer, ISpartan_MetadataApiConsumer Spartan_MetadataApiConsumer)
 {
     this.service = service;
     this._IAuthenticationApiConsumer = authenticationApiConsumer;
     this._ISpartan_Report_Fields_DetailApiConsumer = Spartan_Report_Fields_DetailApiConsumer;
     this._userCredential                              = SessionHelper.UserCredential;
     this._tokenManager                                = tokenManager;
     this._ISpartane_FileApiConsumer                   = Spartane_FileApiConsumer;
     this._ISpartan_Business_RuleApiConsumer           = Spartan_Business_RuleApiConsumer;
     this._ISpartan_BR_Process_Event_DetailApiConsumer = Spartan_BR_Process_Event_DetailApiConsumer;
     this._ISpartan_Report_FunctionApiConsumer         = Spartan_Report_FunctionApiConsumer;
     this._ISpartan_Report_FormatApiConsumer           = Spartan_Report_FormatApiConsumer;
     this._ISpartan_Report_Order_TypeApiConsumer       = Spartan_Report_Order_TypeApiConsumer;
     this._ISpartan_Report_Field_TypeApiConsumer       = Spartan_Report_Field_TypeApiConsumer;
     this._ISpartan_MetadataApiConsumer                = Spartan_MetadataApiConsumer;
 }
Example #2
0
 //TODO: Global Data y Data Rerence tienen que estar en un controlador base
 public Spartan_Report_Fields_DetailController(ISpartan_Report_Fields_DetailService service)
 {
     this.service     = service;
     baseApi          = ConfigurationManager.AppSettings["DBBaseURL"].ToString();
     ApiControllerUrl = "api/Spartan_Report_Fields_Detail";
 }