Ejemplo n.º 1
0
        public OfficeGetDto AddEnterpriseOffice(Guid enterpriseId, OfficeAddDto dto)
        {
            EnterpriseOffice eo = new EnterpriseOffice()
            {
                EnterpriseId = enterpriseId,
                Office       = dto.ToEntity()
            };

            return(_enterpriseRepo.AddEnterpriseOffice(eo).ToDto());
        }