Esempio n. 1
0
 public ApplicationFunctionController(IApplicationFunctionService applicationFunctionService, IOrderByHelper orderByHelper, IPaginationHelper paginationHelper, IMapper mapper)
 {
     this.applicationFunctionService = applicationFunctionService;
     this.orderByHelper    = orderByHelper;
     this.paginationHelper = paginationHelper;
     this.mapper           = mapper;
 }
Esempio n. 2
0
        public ApplicationFunctionController_Tests()
        {
            applicationFunctionService = Substitute.For <IApplicationFunctionService>();
            orderByHelper    = Substitute.For <IOrderByHelper>();
            paginationHelper = Substitute.For <IPaginationHelper>();

            var config = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile(new ApplicationFunctionResourceApplicationFunctionModelProfile());
            });

            mapper = config.CreateMapper();
        }
Esempio n. 3
0
 public ApplicationFunctionController(IApplicationFunctionService applicationFunctionService)
 {
     this.applicationFunctionService = applicationFunctionService;
 }