Ejemplo n.º 1
0
 private void updateSort()
 {
     Entities.SortTo unitTo =
         new Entities.SortTo(int.Parse(hf_SortCode.Value), tb_NameSort.Text);
     BLL.Services.SortService cr_sort = BLL.ServicesCreater.CreateSortService();
     cr_sort.updateSort(unitTo);
 }
Ejemplo n.º 2
0
 private void addSort()
 {
     Entities.SortTo sortTo =
         new Entities.SortTo(tb_NameSort.Text);
     BLL.Services.SortService cr_sort = BLL.ServicesCreater.CreateSortService();
     cr_sort.createSort(sortTo);
 }