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