Ejemplo n.º 1
0
 public GrandChildTree Add(GrandChildTree entity)
 {
     try
     {
         var grandChildTree = _unitOfWork.Repository <GrandChildTree>().Add(entity);
         _unitOfWork.CommitSync();
         return(grandChildTree);
     }
     catch (CustomException exc)
     {
         throw exc;
     }
     catch (Exception ex)
     {
         throw CustomException.Create <GrandChildTreeAppService>("Unexpected error fetching Add", nameof(this.Add), ex);
     }
 }
Ejemplo n.º 2
0
 public Task <GrandChildTree> UpdateAsync(GrandChildTree updated)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 3
0
 public GrandChildTree Update(GrandChildTree updated)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 4
0
 public Task <GrandChildTree> AddAsync(GrandChildTree entity)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 5
0
        private static Node_Tree CreateGrandChildTree(GrandChildTree grandChild)
        {
            Node_Tree nodeGrandChild = CrateNodeTree(grandChild.Title, grandChild.Id.ToString(), grandChild.Tag);

            return(nodeGrandChild);
        }