public async Task <int> PostCascadingLookUp(CascadingLookUp cascadingLookUp)
        {
            if (cascadingLookUp != null)
            {
                lookUpDbContext.Add(cascadingLookUp);

                await lookUpDbContext.SaveChangesAsync();

                return(cascadingLookUp.Id);
            }

            return(0);
        }
        public async Task <bool> PutCascadingLookUp(int id, CascadingLookUp cascadingLookUp)
        {
            lookUpDbContext.Entry(cascadingLookUp).State = EntityState.Modified;

            try
            {
                await lookUpDbContext.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!CascadingLookUpExists(id))
                {
                    return(false);
                }
                else
                {
                    throw;
                }
            }

            return(true);
        }