using DTO; using IServices; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using zhengcaioa.IService; using zhengcaioa.Models; namespace zhengcaioa.Controllers.OA { public class WfApplytypeController : Controller { private readonly ILogger _logger; private readonly IWfApplytypeService _wfApplytypeService; public WfApplytypeController(ILogger logger, IWfApplytypeService wfApplytypeService) { _logger = logger; _wfApplytypeService = wfApplytypeService; } public IActionResult Index() { ViewBag.wfApplytypeDTOs = _wfApplytypeService.GetList().Where(x => x.Applyno != "03" && x.Applyno != "20" && x.Applyno != "22").ToList(); return View(); } } }