private ICommentsSerice CreateCommentService() { return(_serviceCreator.CreateCommentService()); }
private ICommentService CreateCommentService() { return(serviceCreator.CreateCommentService("DefaultConnection")); }
public GuestController(IServiceCreator serviceCreator) { _serviceCreator = serviceCreator; _commentsSerice = _serviceCreator.CreateCommentService(); }