public void GetUserInvestmentDetails(int userId, int profileId) { ProfileInfoService objProfileInfoService = new ProfileInfoService(); var userData = objProfileInfoService.GetUserProfileDetailsByUserIdNUserProfileId(userId, profileId); Clients.All.SetUserInvestmentDetails(userData); }
public IHttpActionResult GetUserProfileDetailsByUserIdNUserProfileId(int UserId, int UserProfileId) { return(ResponseMessage(Request.CreateResponse(HttpStatusCode.OK, objProfileInfoService.GetUserProfileDetailsByUserIdNUserProfileId(UserId, UserProfileId)))); }