public ContentResult deleteleavingmsg(int id) { var msg = string.Empty; var flag = _leavingMsgService.Delete(id, UserContext.SysUserContext.Id, out msg); return(Result <string>(flag, msg)); }
public void Delete() { string msg = string.Empty; service.Delete(1, 1, out msg); }