Ejemplo n.º 1
0
 /// <summary>
 /// gets the username, who deleted a specific record in the 'raktmennyiseg' table
 /// </summary>
 /// <param name="indexOfRecord">the index of the record</param>
 /// <returns>full name of a user</returns>
 public string getWhoModifiedTheQuantityRecord(int indexOfRecord)
 {
     try
     {
         modelReadingInDatas = new ProductsModelReadIn(dbci, parentMain);
         return(modelReadingInDatas.getWhoModifiedRecord(indexOfRecord));
     }
     catch (ErrorServiceWhoModified e)
     {
         throw new ErrorServiceProd(e.Message);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// gets the username, who deleted a specific record in the 'raktminoseg' table
 /// </summary>
 /// <param name="indexOfRecord">the index of the record</param>
 /// <returns>full name of a user</returns>
 public string getWhoModifiedTheRecord(int indexOfRecord)
 {
     try
     {
         modelReadingInDatas = new ProductsModelReadIn(dbci, parent);
         return(modelReadingInDatas.getWhoModifiedRecord(indexOfRecord));
     }
     catch (ErrorServiceWhoModified e)
     {
         errorHandle(e.Message);
         return(null);
     }
 }