예제 #1
0
        public void DeleteConsignerById(int id)
        {
            var input = new DeleteConsignerByIdInput
            {
                Id = id
            };

            using (var repo = new ConsignorRepository())
            {
                var app = new ConsignorAppService(repo);
                app.DeleteConsignerById(input);
            }
        }
예제 #2
0
 public void DeleteConsignerById(DeleteConsignerByIdInput input)
 {
     _consignorRepository.DeleteConsignerById(input.Id);
 }