示例#1
0
 /// <summary>
 /// Внедрение зависимостей
 /// </summary>
 /// <param name="ownerRepository"></param>
 public OwnerController(IOwnerRepository ownerRepository, ITypeDocumentRepository typeDocumentRepository)
 {
     this.ownerRepository        = ownerRepository;
     this.typeDocumentRepository = typeDocumentRepository;
 }
 /// <summary>
 /// Внедрение зависимостей
 /// </summary>
 /// <param name="typeDocumentRepository"></param>
 public TypDocumentController(ITypeDocumentRepository typeDocumentRepository)
 {
     this.typeDocumentRepository = typeDocumentRepository;
 }