Пример #1
0
        Blogger IBlogRepository.CreateBlogger()
        {
            var Result = new Blogger();
            this.Context.Bloggers.Add(Result);

            return Result;
        }
Пример #2
0
 void IBlogEngine.RegisterBlogger(Blogger blogger)
 {
     using (IBlogService DataService = new BlogEngineDataService(this.Config))
     {
         DataService.RegisterBlogger(blogger);
     }
 }