internal static int EditRecord(Expenses purchase)
 {
     if (Validator(purchase))
     {
         return(PurchaseRepository.EditRecord(UppercaseFirst(purchase)));
     }
     return(-1);
 }