Authorized
This commit is contained in:
parent
9aaa243277
commit
96ffa17045
|
|
@ -1,18 +1,19 @@
|
||||||
using HRM.BO;
|
using Ease.Core.DataAccess;
|
||||||
|
using HRM.BO;
|
||||||
using HRM.BO.Configuration;
|
using HRM.BO.Configuration;
|
||||||
|
using HRM.DA;
|
||||||
|
using HRM.DA.Fund;
|
||||||
|
using HRM.Report;
|
||||||
|
using Microsoft.AspNetCore.Authorization;
|
||||||
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Http;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
using Microsoft.Extensions.Options;
|
using Microsoft.Extensions.Options;
|
||||||
using System;
|
|
||||||
using System.Data;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using Ease.Core.DataAccess;
|
|
||||||
using Microsoft.VisualBasic;
|
|
||||||
using HRM.DA;
|
|
||||||
using HRM.Report;
|
|
||||||
using Microsoft.Reporting.NETCore;
|
using Microsoft.Reporting.NETCore;
|
||||||
using HRM.DA.Fund;
|
using Microsoft.VisualBasic;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -20,6 +21,7 @@ namespace Fund.UI.Controllers.Ess_Fund
|
||||||
{
|
{
|
||||||
[Route("api/EssFund")]
|
[Route("api/EssFund")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
|
[Authorize]
|
||||||
public class EssFundController : ControllerBase
|
public class EssFundController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly IDepartmentService _departmentService;
|
private readonly IDepartmentService _departmentService;
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ namespace HRM.UI.Controllers.Leave
|
||||||
{
|
{
|
||||||
[Route("api/Leave")]
|
[Route("api/Leave")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
|
[Authorize]
|
||||||
public class LeaveController : ControllerBase
|
public class LeaveController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly IEmployeeShortLeaveService _employeeShortLeaveService;
|
private readonly IEmployeeShortLeaveService _employeeShortLeaveService;
|
||||||
|
|
|
||||||
|
|
@ -1,21 +1,23 @@
|
||||||
using Microsoft.AspNetCore.Http;
|
using Ease.Core.DataAccess;
|
||||||
|
using HRM.BO;
|
||||||
|
using HRM.DA;
|
||||||
|
using Microsoft.AspNetCore.Authorization;
|
||||||
|
using Microsoft.AspNetCore.Http;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
using Microsoft.AspNetCore.StaticFiles;
|
||||||
|
using Microsoft.Extensions.Configuration;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Globalization;
|
||||||
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using HRM.BO;
|
|
||||||
using System.Globalization;
|
|
||||||
using HRM.DA;
|
|
||||||
using System.IO;
|
|
||||||
using Microsoft.AspNetCore.StaticFiles;
|
|
||||||
using Ease.Core.DataAccess;
|
|
||||||
using Microsoft.Extensions.Configuration;
|
|
||||||
|
|
||||||
namespace HRM.UI.Controllers.Payroll
|
namespace HRM.UI.Controllers.Payroll
|
||||||
{
|
{
|
||||||
[Route("api/ExitClearance")]
|
[Route("api/ExitClearance")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
|
[Authorize]
|
||||||
public class ExitClearanceController : ControllerBase
|
public class ExitClearanceController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly IAssetService _assetService;
|
private readonly IAssetService _assetService;
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,19 @@
|
||||||
using Microsoft.AspNetCore.Http;
|
using HRM.BO;
|
||||||
|
using HRM.DA;
|
||||||
|
using Microsoft.AspNetCore.Authorization;
|
||||||
|
using Microsoft.AspNetCore.Http;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using HRM.BO;
|
|
||||||
using System.Data;
|
|
||||||
using HRM.DA;
|
|
||||||
|
|
||||||
namespace HRM.UI.Controllers.Payroll
|
namespace HRM.UI.Controllers.Payroll
|
||||||
{
|
{
|
||||||
[Route("api/jv")]
|
[Route("api/jv")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
|
[Authorize]
|
||||||
public class JvController : ControllerBase
|
public class JvController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly IJVSetupService _jvSetupService;
|
private readonly IJVSetupService _jvSetupService;
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,18 @@
|
||||||
using Microsoft.AspNetCore.Http;
|
using HRM.BO;
|
||||||
|
using HRM.DA;
|
||||||
|
using Microsoft.AspNetCore.Authorization;
|
||||||
|
using Microsoft.AspNetCore.Http;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using HRM.BO;
|
|
||||||
using HRM.DA;
|
|
||||||
|
|
||||||
namespace HRM.UI.Controllers.Payroll
|
namespace HRM.UI.Controllers.Payroll
|
||||||
{
|
{
|
||||||
[Route("api/opi")]
|
[Route("api/opi")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
|
[Authorize]
|
||||||
public class OpiController : ControllerBase
|
public class OpiController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly IOpiParameterService _opiParameterService;
|
private readonly IOpiParameterService _opiParameterService;
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,18 @@
|
||||||
using Microsoft.AspNetCore.Http;
|
using HRM.BO;
|
||||||
|
using HRM.DA;
|
||||||
|
using Microsoft.AspNetCore.Authorization;
|
||||||
|
using Microsoft.AspNetCore.Http;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using HRM.BO;
|
|
||||||
using HRM.DA;
|
|
||||||
|
|
||||||
namespace HRM.UI.Controllers.Payroll
|
namespace HRM.UI.Controllers.Payroll
|
||||||
{
|
{
|
||||||
[Route("api/Overtime")]
|
[Route("api/Overtime")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
|
[Authorize]
|
||||||
public class OverTimeController : ControllerBase
|
public class OverTimeController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly ITermParameterService _termParameterService;
|
private readonly ITermParameterService _termParameterService;
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,18 @@
|
||||||
using Microsoft.AspNetCore.Http;
|
using HRM.BO;
|
||||||
|
using HRM.DA;
|
||||||
|
using Microsoft.AspNetCore.Authorization;
|
||||||
|
using Microsoft.AspNetCore.Http;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using HRM.BO;
|
|
||||||
using HRM.DA;
|
|
||||||
|
|
||||||
namespace HRM.UI.Controllers.Payroll
|
namespace HRM.UI.Controllers.Payroll
|
||||||
{
|
{
|
||||||
[Route("api/settlement")]
|
[Route("api/settlement")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
|
[Authorize]
|
||||||
public class SettlementController : ControllerBase
|
public class SettlementController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly IFSHeadService _fsHeadService;
|
private readonly IFSHeadService _fsHeadService;
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,17 @@
|
||||||
using Microsoft.AspNetCore.Http;
|
using HRM.BO;
|
||||||
|
using Microsoft.AspNetCore.Authorization;
|
||||||
|
using Microsoft.AspNetCore.Http;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using HRM.BO;
|
|
||||||
|
|
||||||
namespace HRM.UI.Controllers.Payroll
|
namespace HRM.UI.Controllers.Payroll
|
||||||
{
|
{
|
||||||
[Route("api/UnAuthLeave")]
|
[Route("api/UnAuthLeave")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
|
[Authorize]
|
||||||
public class UnAuthLeaveController : ControllerBase
|
public class UnAuthLeaveController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly IEmployeeUnAuthorizeLeaveService _employeeUnAuthorizeLeaveService;
|
private readonly IEmployeeUnAuthorizeLeaveService _employeeUnAuthorizeLeaveService;
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,16 @@
|
||||||
using System;
|
using Microsoft.AspNetCore.Authorization;
|
||||||
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
using Microsoft.Extensions.Logging;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
|
||||||
using Microsoft.Extensions.Logging;
|
|
||||||
|
|
||||||
namespace WebApplication1.Controllers
|
namespace WebApplication1.Controllers
|
||||||
{
|
{
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Route("[controller]")]
|
[Route("[controller]")]
|
||||||
|
[Authorize]
|
||||||
public class WeatherForecastController : ControllerBase
|
public class WeatherForecastController : ControllerBase
|
||||||
{
|
{
|
||||||
private static readonly string[] Summaries = new[]
|
private static readonly string[] Summaries = new[]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user