Example #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SeguradoraAppService"/> class.
        ///     Construtor padrão de <see cref="SeguradoraAppService"/>.
        /// </summary>
        /// <param name="uow">
        ///     Contrato do Unit of Work. Veja <see cref="IUnitOfWork"/>.
        /// </param>
        /// <param name="mapper">
        ///     Contrato do AutoMapper. Veja <see cref="IMapper"/>.
        /// </param>
        /// <param name="repository">
        ///     O repositório da entidade Seguradora. Veja <see cref="ISeguradoraRepository"/>.
        /// </param>

        public SeguradoraAppService(
            IUnitOfWork uow,
            IMapper mapper,
            ISeguradoraRepository repository)
            : base(uow, mapper, repository)
        {
        }
 public SeguradoraService(ISeguradoraRepository repositorio)
     : base(repositorio)
 {
     _repositorio = repositorio;
 }