public dynamic EditMoney(dynamic obj) { try { AccountBLL bll = new AccountBLL(); return(bll.EditMoney(obj)); } catch (ErrorMsgException ex) { return(new { status = ex.Status, message = ex.Message }); } catch (Exception ex) { return(new { status = 500, message = ex.Message }); } }