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.DA;
|
||||
using HRM.DA.Fund;
|
||||
using HRM.Report;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
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 HRM.DA.Fund;
|
||||
using Microsoft.VisualBasic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
|
||||
|
||||
|
|
@ -20,7 +21,8 @@ namespace Fund.UI.Controllers.Ess_Fund
|
|||
{
|
||||
[Route("api/EssFund")]
|
||||
[ApiController]
|
||||
public class EssFundController : ControllerBase
|
||||
[Authorize]
|
||||
public class EssFundController : ControllerBase
|
||||
{
|
||||
private readonly IDepartmentService _departmentService;
|
||||
private readonly IDesignationService _designationService;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,8 @@ namespace HRM.UI.Controllers.Leave
|
|||
{
|
||||
[Route("api/Leave")]
|
||||
[ApiController]
|
||||
public class LeaveController : ControllerBase
|
||||
[Authorize]
|
||||
public class LeaveController : ControllerBase
|
||||
{
|
||||
private readonly IEmployeeShortLeaveService _employeeShortLeaveService;
|
||||
private readonly ILeaveService _leaveService;
|
||||
|
|
|
|||
|
|
@ -1,22 +1,24 @@
|
|||
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.StaticFiles;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
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
|
||||
{
|
||||
[Route("api/ExitClearance")]
|
||||
[ApiController]
|
||||
public class ExitClearanceController : ControllerBase
|
||||
[Authorize]
|
||||
public class ExitClearanceController : ControllerBase
|
||||
{
|
||||
private readonly IAssetService _assetService;
|
||||
private readonly IVendorService _vendorService;
|
||||
|
|
|
|||
|
|
@ -1,18 +1,20 @@
|
|||
using Microsoft.AspNetCore.Http;
|
||||
using HRM.BO;
|
||||
using HRM.DA;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using HRM.BO;
|
||||
using System.Data;
|
||||
using HRM.DA;
|
||||
|
||||
namespace HRM.UI.Controllers.Payroll
|
||||
{
|
||||
[Route("api/jv")]
|
||||
[ApiController]
|
||||
public class JvController : ControllerBase
|
||||
[Authorize]
|
||||
public class JvController : ControllerBase
|
||||
{
|
||||
private readonly IJVSetupService _jvSetupService;
|
||||
private readonly IJVSetupCCService _jvSetupCcService;
|
||||
|
|
|
|||
|
|
@ -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 System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using HRM.BO;
|
||||
using HRM.DA;
|
||||
|
||||
namespace HRM.UI.Controllers.Payroll
|
||||
{
|
||||
[Route("api/opi")]
|
||||
[ApiController]
|
||||
public class OpiController : ControllerBase
|
||||
[Authorize]
|
||||
public class OpiController : ControllerBase
|
||||
{
|
||||
private readonly IOpiParameterService _opiParameterService;
|
||||
private readonly IOpiParameterIndividualService _opiParameterIndividualService;
|
||||
|
|
|
|||
|
|
@ -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 System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using HRM.BO;
|
||||
using HRM.DA;
|
||||
|
||||
namespace HRM.UI.Controllers.Payroll
|
||||
{
|
||||
[Route("api/Overtime")]
|
||||
[ApiController]
|
||||
public class OverTimeController : ControllerBase
|
||||
[Authorize]
|
||||
public class OverTimeController : ControllerBase
|
||||
{
|
||||
private readonly ITermParameterService _termParameterService;
|
||||
private readonly IEmployeeOverTimeService _employeeOverTimeService;
|
||||
|
|
|
|||
|
|
@ -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 System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using HRM.BO;
|
||||
using HRM.DA;
|
||||
|
||||
namespace HRM.UI.Controllers.Payroll
|
||||
{
|
||||
[Route("api/settlement")]
|
||||
[ApiController]
|
||||
public class SettlementController : ControllerBase
|
||||
[Authorize]
|
||||
public class SettlementController : ControllerBase
|
||||
{
|
||||
private readonly IFSHeadService _fsHeadService;
|
||||
private readonly IFSTranService _fsTranService;
|
||||
|
|
|
|||
|
|
@ -1,16 +1,18 @@
|
|||
using Microsoft.AspNetCore.Http;
|
||||
using HRM.BO;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using HRM.BO;
|
||||
|
||||
namespace HRM.UI.Controllers.Payroll
|
||||
{
|
||||
[Route("api/UnAuthLeave")]
|
||||
[ApiController]
|
||||
public class UnAuthLeaveController : ControllerBase
|
||||
[Authorize]
|
||||
public class UnAuthLeaveController : ControllerBase
|
||||
{
|
||||
private readonly IEmployeeUnAuthorizeLeaveService _employeeUnAuthorizeLeaveService;
|
||||
private readonly IUnAuthorizeLeaveService _unAuthorizeLeaveService;
|
||||
|
|
|
|||
|
|
@ -1,15 +1,17 @@
|
|||
using System;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace WebApplication1.Controllers
|
||||
{
|
||||
[ApiController]
|
||||
[Route("[controller]")]
|
||||
public class WeatherForecastController : ControllerBase
|
||||
[Authorize]
|
||||
public class WeatherForecastController : ControllerBase
|
||||
{
|
||||
private static readonly string[] Summaries = new[]
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user