/// <summary>
        /// Method Name      : EmployeeResignationRevoke
        /// Author           : Keval Kiniyara
        /// Creation Date    : 18 October 2019
        /// Purpose          : To Revoke The Resignation.
        /// Revision         :
        /// </summary>
        /// <param name="revoke"> Revoke</param>
        public void EmployeeResignationRevoke(ResignationRevokeViewModel revoke)
        {
            Resignation resignation = new Resignation
            {
                ResignationId     = _employeeResignation.GetEmployeeResignationId(_claims.UserId),
                RevokeRemark      = revoke.RevokeRemarks,
                ResignationStatus = "Revoked",
                LastModifiedDate  = DateTime.Now,
                DeletedDate       = DateTime.Now
            };

            _employeeResignation.ResignationRevoke(resignation);
        }
 public IActionResult Revoke([FromBody] ResignationRevokeViewModel revokeReason)
 {
     _employeeResignation.EmployeeResignationRevoke(revokeReason);
     return(Ok());
 }