//TODO: Global Data y Data Rerence tienen que estar en un controlador base public EmpresasController(IEmpresasService service, ISpartan_Bitacora_SQLService bitacoraService) { this.service = service; serviceBitacora = bitacoraService; baseApi = ConfigurationManager.AppSettings["DBBaseURL"].ToString(); ApiControllerUrl = "api/Empresas"; }
public EmpresasController(IEmpresasService empresasService) { this.empresasService = empresasService; }