Esempio n. 1
0
        public async Task <IActionResult> Abnormal(int ocid = 0, string priority = "", string start = "", string end = "", string weekdays = "")
        {
            string token  = Request.Headers["Authorization"];
            var    userID = JWTExtensions.GetDecodeTokenByProperty(token, "nameid").ToInt();

            return(Ok(await _taskService.Abnormal(ocid, priority, userID, start, end, weekdays)));
        }