Example #1
0
        public TpPunchControllerImpl(IMapper mapper,
                                     IHttpContextAccessor httpContextAccessor,
                                     IPunchService punchService,
                                     IUnitOfWork unitOfWork)
        {
            _mapper = mapper;
            _httpContextAccessor = httpContextAccessor;
            _punchService        = punchService;
            _unitOfWork          = unitOfWork;

            new JsonSerializerSettings
            {
                Formatting = Formatting.Indented
            };
        }
Example #2
0
 public PunchController(IPunchService punchService)
 {
     _punchService = punchService;
 }