public ActionResult Save(sys_dept dto) { var user = RequestHelper.AdminInfo(); _deptApp.SaveDepartment(dto, RequestHelper.AdminInfo()); return(Success("保存成功")); }
public ActionResult Save(sys_department dto) { var user = RequestHelper.AdminInfo(); dto.insert_id = user.Id; dto.insert_time = DateTime.Now; _deptApp.SaveDepartment(dto); return(Success("保存成功")); }