Exemplo n.º 1
0
        public DeleteController(
            WebDbContext Context,

            IAddresServices Address,
            WebEventoo_DomainClasses.Services.IExhibitionServices Cermoney,
            IColorService Color,
            ICommentService Comment,
            IEductionservices Eduction,
            IEventServices Event,
            INotPublishedServices notpublish,
            WebExhibitionoo_DomainClasses.Services.IExhibitionServices Exhibition,
            IInformationService Information,
            IPlaceServices Place
            )
        {
            context             = Context;
            FAddressServices    = Address;
            FCermoneyServices   = Cermoney;
            FColorServices      = Color;
            FCommentServices    = Comment;
            FEductionServices   = Eduction;
            FEventServices      = Event;
            FExhibitionServices = Exhibition;
            FInformtionSErvices = Information;
            FPlacesServices     = Place;
            FnotPublished       = notpublish;
        }
Exemplo n.º 2
0
 public OperationController(WebDbContext db,
                            ICommentService Comment,
                            IEventServices Event, INotPublishedServices NotPublish, ITranctionServices TranctionServices)
 {
     Dbcontext           = db;
     vmodel              = new ViewModel.InformationViewModel();
     FNotPublishServices = NotPublish;
     FEventServices      = Event;
     FTranctionServices  = TranctionServices;
     FCommentServices    = Comment;
 }