public void RemoveActInputControl() { ActInputControlDto act = SampleEntityDto.CreateActInputControl(); OnTestOfRemove <ActInputControlDto, ActInputControl>( ref act, service => service.RemoveActInputControl(act)); }
public void UpdateActInputControl() { ActInputControlDto act = SampleEntityDto.CreateActInputControl(); OnTestOfUpdate <ActInputControlDto, ActInputControl>( ref act, service => { service.UpdateActInputControl(act); }, (dto, entity) => dto.Note == entity.Note); }
public void GetActsInputControl() { var rn = _nhHelper.Create <ActInputControl>(Mapper.Map <ActInputControl>(SampleEntityDto.CreateActInputControl()), true); _helper.CreateCoordinatorOfServices(serviceScope => { IPlanReceiptOrderService service = serviceScope.CreatePlanService(); var filterDto = new ActInputControlDto(); filterDto.RN = rn; const int skip = 0; const int take = 0; int total; IEnumerable <ActInputControlDto> result = service.GetActsInputControlFilter(filterDto, skip, take, out total); Assert.That(result, Is.Not.Null); }); }
public virtual void RemoveActInputControl(ActInputControlDto entity) { throw new NotImplementedException(); }
public virtual ActInputControlDto AddActInputControl(ActInputControlDto entity) { throw new NotImplementedException(); }
public virtual void RemoveActInputControl(ActInputControlDto entity) { this.RemoveEntity <ActInputControl, ActInputControlDto>(entity); }
public virtual void UpdateActInputControl(ActInputControlDto entity) { this.UpdateEntity <ActInputControl, ActInputControlDto>(entity); }
public virtual ActInputControlDto AddActInputControl(ActInputControlDto entity) { return(this.AddEntity <ActInputControl, ActInputControlDto>(entity)); }