public JsonResult ForexSave(BulkPurchaseForex model, string action)
 {
     try
     {
         if (ModelState.IsValid)
         {
             System.Diagnostics.Debug.WriteLine("Forex Save Invoked!!!");
             return(Json(Functions.OutPutResponse(true, "Record saved successfully", _forexmodel.Save(model, action))));
         }
         return(Json(Functions.OutPutResponse(false, "Record saved failed", ModelState)));
     }
     catch (Exception ex)
     {
         return(Json(Functions.OutPutResponse(false, ex.Message)));
     }
 }