protected override bool SaveData() { var id = SalesManager.AddOrEditCloseDay(CloseDayID, BranchID, CloseDate, Comment, Status, BaseGlobalVariable.UserID, BaseGlobalVariable.ServerDateTime, ApproverUserID, Action); if (id > 0) { CloseDayID = id; } return(id > 0); }