public static IEnumerable <ProfilePath> GetRemoveProfilePaths(WellboresRootGridViewModel wellboresRootGridViewModel)
        {
            List <ProfilePath> profilePaths = new List <ProfilePath>();

            foreach (WellboreGridViewModel wellboreGridViewModel in wellboresRootGridViewModel.MainItems)
            {
                if (wellboreGridViewModel.ChildItems.RemoveItems.Count > 0)
                {
                    profilePaths.AddRange(Mapper.Map(wellboreGridViewModel.ChildItems.RemoveItems, new List <ProfilePath>()));
                }
            }
            return(profilePaths);
        }
 public static IEnumerable <Wellbore> GetUpdateWellbores(WellboresRootGridViewModel wellboresRootGridViewModel)
 {
     return(Mapper.Map(wellboresRootGridViewModel.MainItems.ChangedItems, new List <Wellbore>()));
 }
 public static IEnumerable <Wellbore> GetRemoveWellbores(WellboresRootGridViewModel wellboresRootGridViewModel)
 {
     return(Mapper.Map(wellboresRootGridViewModel.MainItems.RemoveItems, new List <Wellbore>()));
 }