public HttpResponseMessage GetNotificationByUserId(int userId) { List <Notification> notifications = NotificationBL.GetByUsetId(userId); return(Request.CreateResponse(HttpStatusCode.OK, notifications)); }