当前位置:网站首页>Application business layer modification

Application business layer modification

2022-06-11 21:06:00 Jinan small program champion

  Apply business layer modification  

class 1 Error reporting deletion .

using System;
using System.Linq;
using System.Threading.Tasks;
using Infrastructure;
using Microsoft.EntityFrameworkCore;
using OpenAuth.App.Interface;
using OpenAuth.App.Request;
using OpenAuth.App.Response;
using OpenAuth.Repository;
using OpenAuth.Repository.Domain;
using OpenAuth.Repository.Interface;


namespace OpenAuth.App
{
    // modify 3 BaseTreeApp
    public class hrEmployeeApp : BaseTreeAppLHEm<hrEmployee,OpenAuthDBContext>
    {
        //  Business layer write debugging  
        private RevelanceManagerApp _revelanceApp;
        /// <summary>
        ///  Add employee name ( perhaps ID)
        /// </summary>



        /// <summary>
        ///  Load list 
        /// </summary>
        public async Task<TableData> Load(QueryhrEmployeeListReq request)
        {
            var loginContext = _auth.GetCurrentUser();

            if (loginContext == null)
            {
            throw new Co
原网站

版权声明
本文为[Jinan small program champion]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206112103557485.html