コード例 #1
0
        public async Task <IActionResult> GetInboxCount()
        {
            string serialNo = HttpContext.Request.Query["serialNo"].ToString();
            GetInboxCountResponse response = _iAdminAccountService.GetInboxCount();

            return(Ok(response));
        }
コード例 #2
0
        public IActionResult GetInboxCount()
        {
            var response = _adminAccount.GetInboxCount();

            if (response.isSuccess == false)
            {
                return(null);
            }
            return(Ok(response));
        }