public ActionResult Save(TreasuryLocks obj, short state, short hasrepeat) { var op = TakeStockService.SaveOrUpdate(obj, Request["Updated"], Request["Inserted"], Request["Deleted"], Request["ActualDate"], state, hasrepeat); if (op.Successed) { TakeStockService.RemoveCache(obj.CheckBatch); } return(Content(op.ToJson())); }