示例#1
0
 public ThanaService(IThanaRepository thanaRepository, IUnitOfWork unitOfWork)
 {
     this._thanaRepository = thanaRepository;
     this._UnitOfWork = unitOfWork;
 }
 public ThanaManager(IThanaRepository thana) : base(thana)
 {
     this._thanaRepository = thana;
 }
示例#3
0
 public ThanaService(IThanaRepository repository)
 {
     this.repository = repository;
 }
示例#4
0
 public ThanaApiController()
 {
     _ThanaRepository = FtUnityMapper.GetInstance <IThanaRepository>();
 }
 public ThanaController(IThanaRepository repo)
 {
     this.repo = repo;
 }
 public ThanaManager() : base(new ThanaRepository())
 {
     this._thanaRepository = (ThanaRepository)base.BaseRepository;
 }