Exemple #1
0
 public void RequireInvestigation(Guid InstanceId, InvestigationRequiredEventArgs args)
 {
     if (null != InvestigationRequired)
     {
         InvestigationRequired(null, args);
     }
 }
Exemple #2
0
 /// <summary>
 /// This function is used to save the name of the Enquiry Officer for investigating complain.
 /// <param name="ComplainId"></param>
 /// </summary>
 /// <returns>void</returns>
 public bool AssignEnquiryOfficer(string InvestigatingOfficer, Guid ComplainId)
 {
     try
     {
         Guid InstanceId = (Guid) IgrssAdapters.ComplainAdapter.GetWfIdByComplainId(ComplainId);
         InvestigationRequiredEventArgs args = new InvestigationRequiredEventArgs(InstanceId);
         args.InvestigatingOfficer = InvestigatingOfficer;
         WorkflowMediator.ComplainServices.RequireInvestigation(InstanceId, args);
         return true;
     }
     catch (Exception ex)
     {
         if(ExceptionPolicy.HandleException(ex, "DAL"))
         throw;
     return false;
     }
 }