示例#1
0
        public ActionResult HR_WorkingDay_GetHour(int userid)
        {
            var db     = new Timekeeping_TimeSSNDal();
            var result = db.HR_WorkingDay_GetHour(userid);

            return(Content(JsonConvert.SerializeObject(new
            {
                result
            })));
        }
示例#2
0
        public ActionResult HR_WorkingDay_GetHour(int userid)
        {
            var db = new Timekeeping_TimeSSNDal();

            if (userid == 0)
            {
                userid = Global.CurrentUser.LoginUserId;
            }
            var result = db.HR_WorkingDay_GetHour(userid);

            return(Content(JsonConvert.SerializeObject(new
            {
                result
            })));
        }