/// <summary>
 /// Gets the agent of deduction.
 /// </summary>
 /// <returns></returns>
 /// <exception cref="ApplicationException">Repository GetAgentOfDeduction</exception>
 public IList <IAgentOfDeduction> GetAgentOFDeduction()
 {
     try
     {
         using (var dbContext = (PitalyticsEntities)this.dbContextFactory.GetDbContext())
         {
             var list = LookupQueries.GetAgentOfDeduction(dbContext).ToList();
             return(list);
         }
     }
     catch (Exception e)
     {
         throw new ApplicationException("Repository GetAgentOfDeduction", e);
     }
 }