예제 #1
0
 public BlogsController(ICrudOperation <BlogViewModel> operation,
                        ICrudOperation <UserViewModel> operationUser
                        )
 {
     _operation     = operation;
     _operationUser = operationUser;
 }
 public CommentsController(ICrudOperation <CommentViewModel> operation,
                           ICrudOperation <PostViewModel> operationPosts,
                           ICrudOperation <UserViewModel> operationUser
                           )
 {
     _operation      = operation;
     _operationPosts = operationPosts;
     _operationUser  = operationUser;
 }
예제 #3
0
 public TurmaBusiness(ICrudOperation <Turma> turmaRepository, ICrudOperation <Escola> escolaRepository)
 {
     this.turmaRepository  = turmaRepository;
     this.escolaRepository = escolaRepository;
 }
예제 #4
0
 public VehicleMakeRepository(IRepository repository, ICrudOperation unitOfWork)
 {
     _unitOfWork = unitOfWork;
     _repository = repository;
 }
예제 #5
0
 public AlunoController(ICrudOperation <Aluno> alunoRepository)
 {
     this.alunoRepository = alunoRepository;
 }
예제 #6
0
 public EscolaController(ICrudOperation <Escola> escolaRepository)
 {
     this.escolaRepository = escolaRepository;
 }
예제 #7
0
 public UsersController(ICrudOperation <UserViewModel> operation)
 {
     _operation = operation;
 }
 public TagsController(ICrudOperation <TagViewModel> operation)
 {
     _operation = operation;
 }