Beispiel #1
0
 public Spartan_Traduction_LanguageController(ISpartan_Traduction_LanguageService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, ISpartan_Traduction_LanguageApiConsumer Spartan_Traduction_LanguageApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer, ISpartan_Business_RuleApiConsumer Spartan_Business_RuleApiConsumer, ISpartan_BR_Process_Event_DetailApiConsumer Spartan_BR_Process_Event_DetailApiConsumer, ISpartan_FormatApiConsumer Spartan_FormatApiConsumer, ISpartan_Format_PermissionsApiConsumer Spartan_Format_PermissionsApiConsumer, IGeneratePDFApiConsumer GeneratePDFApiConsumer)
 {
     this.service = service;
     this._IAuthenticationApiConsumer = authenticationApiConsumer;
     this._ISpartan_Traduction_LanguageApiConsumer = Spartan_Traduction_LanguageApiConsumer;
     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_FormatApiConsumer                  = Spartan_FormatApiConsumer;
     this._ISpartan_Format_PermissionsApiConsumer      = Spartan_Format_PermissionsApiConsumer;
     this._IGeneratePDFApiConsumer                     = GeneratePDFApiConsumer;
 }
 //TODO: Global Data y Data Rerence tienen que estar en un controlador base
 public Spartan_Traduction_LanguageController(ISpartan_Traduction_LanguageService service)
 {
     this.service     = service;
     baseApi          = ConfigurationManager.AppSettings["DBBaseURL"].ToString();
     ApiControllerUrl = "api/Spartan_Traduction_Language";
 }