username@email.com
2021-08-27 7b9e068cfe4e295f9ee960457d848c631f0136c7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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" && x.Applyno != "22").ToList();
            return View();
        }
    }
}