private Guid GetUserIdFromYafId(string yafUserId) { var yafService = new YafService(Ioc.GetInstance <IYafRepository>()); var userResult = yafService.GetUserIdFromYafId(int.Parse(yafUserId)); return(new Guid(userResult.ProviderUserKey)); }
private void Bind() { YafService service = new YafService(Ioc.GetInstance <IYafRepository>()); var topics = service.GetRecentTopics(); rptRecentTopics.DataSource = topics; rptRecentTopics.DataBind(); }