//contructor
 public TareaMapper(ICentroCostosService ICentroDeCostos, ITareaService ItareaService, ITipoTareaService ITipoTareaService, IEstadoTareaService IEstadoTareaService)
 {
     this.ItareaService       = ItareaService;
     this.ITipoTareaService   = ITipoTareaService;
     this.IEstadoTareaService = IEstadoTareaService;
     this.ICentroDeCostos     = ICentroDeCostos;
 }
Beispiel #2
0
 public TareaController(
     ITareaService tareaService,
     IEstadoTareaService estadoTareaService,
     IMapper mapper)
 {
     _tareaService       = tareaService;
     _estadoTareaService = estadoTareaService;
     _mapper             = mapper;
 }
        public MainPageViewModel(INavigationService navigationService, ITareaService tareaService)
            : base(navigationService)
        {
            this._navegacion   = navigationService;
            this._tareaService = tareaService;

            this.btnAgregar = new DelegateCommand(btnAgregar_Command);
            this.CargarListaTareas();
        }
Beispiel #4
0
 public TareaController(
     gpro_dbContext context,
     ITareaService tareaService,
     IMapper mapper,
     IOptions <AppSettings> appSettings)
 {
     _tareaService = tareaService;
     _mapper       = mapper;
     _appSettings  = appSettings.Value;
     _context      = context;
 }
        public NuevaTareaViewModel(INavigationService navigationService, IPageDialogService dialogs, ITareaService tareaService) : base(navigationService)
        {
            this._navegacion   = navigationService;
            this._dialogs      = dialogs;
            this._tareaService = tareaService;

            // Configuración de la fecha inicial en el DatePicker
            this._fechaTarea = DateTime.Now.Date;

            btnGuardar = new DelegateCommand(btnGuardar_Command);
        }
Beispiel #6
0
        public DetalleTareaViewModel(INavigationService navigationService, IPageDialogService dialogs, ITareaService tareaService, ICalendarService calendar)
            : base(navigationService)
        {
            this._calendarService = calendar;
            this._tareaService    = tareaService;

            this._navegacion = navigationService;
            this._dialog     = dialogs;

            this.btnActualizar = new DelegateCommand(btnActualizar_Command);
            this.btnEliminar   = new DelegateCommand(btnEliminar_Command);
            this.btnCalendario = new DelegateCommand(btnCalendario_Command);
        }
Beispiel #7
0
 public HorasTrabajadasService(IEntityBaseRepository <HorasTrabajadas> entityRepository,
                               IUnitOfWork unitOfWork,
                               IAppContext appContext,
                               IEntityBaseRepository <Tarea> tareaRepository,
                               IEntityBaseRepository <HorasTrabajadasEstado> horasTrabajadasEstadoRepository,
                               ITareaService tareaService,
                               ISevice service) : base(entityRepository, unitOfWork, appContext)
 {
     this.tareaRepository = tareaRepository;
     this.horasTrabajadasEstadoRepository = horasTrabajadasEstadoRepository;
     this.tareaService = tareaService;
     this.service      = service;
 }
 public TareaController(IMensajeReceptorService IMensajeReceptorService, IMensajeReceptor IMensajeReceptorMap, IMensajeService ImensajeSerive, IConfiguracionFiltrosService IConfigService, ITipoTareaService ITipoService, IEstadoTareaService IEstadoService, ITareaMapper ITareaMapper, ITareaService pTareaServiceInterface, IContactoService IContactosService, IUserService IUserService)
 {
     this.IMensajeReceptorMap     = IMensajeReceptorMap;
     this.IMensajeReceptorService = IMensajeReceptorService;
     this.TareaServiceInterface   = pTareaServiceInterface;
     this.IContactosService       = IContactosService;
     this.IUserService            = IUserService;
     this.ITareaMapper            = ITareaMapper;
     this.IEstadoService          = IEstadoService;
     this.ITipoService            = ITipoService;
     this.IConfigService          = IConfigService;
     this.ImensajeSerive          = ImensajeSerive;
 }
 public IndexModel(ITareaService tareaService, IEmpleadoService empleadoService, IPedidoService pedidoService)
 {
     this._TareaService = tareaService;
 }
Beispiel #10
0
 public TareaController(ITareaService tareaService)
 {
     _tareaService = tareaService;
 }
Beispiel #11
0
 public EditModel(IPedidoService pedidoService, IEmpleadoService empleadoService, ITareaService tareaService)
 {
     this._empleadoService = empleadoService;
     this._pedidoService   = pedidoService;
     this._tareaService    = tareaService;
 }
Beispiel #12
0
 public TareaController(ITareaService TareaService)
 {
     _TareaService = TareaService;
 }
Beispiel #13
0
 public DetailsModel(ITareaService tareaService)
 {
     this._TareaService = tareaService;
 }