public IActionResult ListarTareas() { TbFdConfiguracionFiltros tareas = new TbFdConfiguracionFiltros(); tareas = this.IConfigService.GetFiltro(); //llamar alos contactos ViewData["Contactos"] = this.IContactosService.GetAll(); ViewData["Asignados"] = this.IUserService.GetAll(); ViewData["estados"] = this.IEstadoService.GetAll(); ViewData["tipos"] = this.ITipoService.GetAll(); ViewData["Asignados"] = this.IUserService.GetAll(); ViewBag.fecha = DateTime.Today; return(View(tareas)); }
public IActionResult FijarFiltros(TbFdConfiguracionFiltros domain) { TbFdConfiguracionFiltros saveFiltros = new TbFdConfiguracionFiltros(); saveFiltros = this.IConfigService.Save(domain); if (saveFiltros != null) { return(Ok(true)); } else { return(Ok(false)); } }
public TbFdConfiguracionFiltros Save(TbFdConfiguracionFiltros domain) { return(this.IConfigRepository.Save(domain)); }
public bool Delete(TbFdConfiguracionFiltros domain) { return(this.IConfigRepository.Delete(domain)); }