public void GetUserNotification(int UserId) { SellffDefaultService objSellffDefaultService = new SellffDefaultService(); var userData = objSellffDefaultService.HeaderWidgetsCountByUserId(UserId); Clients.All.SetUserNotification(userData); }
public IHttpActionResult HeaderWidgetsCountByUserId(int UserId) { return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, objSellffDefaultService.HeaderWidgetsCountByUserId(UserId)))); }