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