LR-20210131IOQH\Administrator
2021-08-10 d4a6d65f5e449c3e5464aa18ae97bf8953987217
zhengcaioa/zhengcaioa/Controllers/OA/WfApplytypeController.cs
New file
@@ -0,0 +1,41 @@
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<WfApplytypeController> _logger;
        private readonly IWfApplytypeService _wfApplytypeService;
        public WfApplytypeController(ILogger<WfApplytypeController> logger, IWfApplytypeService wfApplytypeService)
        {
            _logger = logger;
            _wfApplytypeService = wfApplytypeService;
        }
        public IActionResult Index()
        {
            ViewBag.wfApplytypeDTOs = _wfApplytypeService.GetList().Where(x => x.Applyno != "03" && x.Applyno != "20").ToList();
            return View();
        }
    }
}