public MetodologiasController() { db = TpIntegradorDbContext.GetInstance(); condService = new CondicionesService(db); metService = new MetodologiasService(db); empService = new EmpresasService(db); }
public ActionResult GetAllEmpresas(int page, int start, int limit, string sort, string dir, long _dc, string callback, string condicion = null, string codigo = null) { var filter = new PagingInfo { page = page, start = start, limit = limit, sort = sort, dir = dir, _dc = _dc, callback = callback, search = condicion }; var service = new EmpresasService(); var jsondata = service.GetAllEmpresas(filter, codigo); JavaScriptSerializer javaScriptSerializer = new JavaScriptSerializer(); string callback1 = callback + "(" + javaScriptSerializer.Serialize(jsondata) + ");"; return(JavaScript(callback1)); }
public EmpresasController(EmpresasService service, ArquivosService arquivosService) { _service = service; _arquivosService = arquivosService; }
public BalancesController() { db = TpIntegradorDbContext.GetInstance(); balanceService = new BalancesService(db); empService = new EmpresasService(db); }
public EmpresasController() { _service = new EmpresasService(); }
public EmpresasController() { this.empresasService = new EmpresasService(); this.sectoresService = new SectoresService(); }
public PlanosAcaoController(PlanosAcaoService service, ArquivosService arquivosService, EmpresasService empresasService) { _service = service; _arquivosService = arquivosService; _empresasService = empresasService; }