public async Task <IActionResult> GetInboxCount() { string serialNo = HttpContext.Request.Query["serialNo"].ToString(); GetInboxCountResponse response = _iAdminAccountService.GetInboxCount(); return(Ok(response)); }
public IActionResult GetInboxCount() { var response = _adminAccount.GetInboxCount(); if (response.isSuccess == false) { return(null); } return(Ok(response)); }