/// <summary>
 /// API to change employee password
 /// </summary>
 /// <param name="employee"></param>
 /// <returns></returns>
 public IHttpActionResult PostChangeEmployeePassword(Employee employee)
 {
     _Logger.Info("PostChangeEmployeePassword API called.");
     try
     {
         _ExceptionCheck.ValidateEmployeePassword(employee.Password);
         bool Check = _BusinessOperations.ChangeEmployeePassword(employee);
         if (Check == false)
         {
             return(NotFound());
         }
         else
         {
             return(Ok(employee));
         }
     }
     catch (EmployeeManagementExceptions exception)
     {
         _Logger.Error(exception.ToString());
         return(InternalServerError(exception));
     }
     catch (Exception ex)
     {
         _Logger.Fatal(ex.ToString());
         return(InternalServerError(ex));
     }
 }