public async Task<IHttpActionResult> Postgsf_ListMaster(gsf_ListMaster gsf_listmaster)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.gsf_ListMaster.Add(gsf_listmaster);
            await db.SaveChangesAsync();

            return CreatedAtRoute("DefaultApi", new { id = gsf_listmaster.ListMasterID }, gsf_listmaster);
        }
        // PUT api/Default4/5
        public async Task<IHttpActionResult> Putgsf_ListMaster(int id, gsf_ListMaster gsf_listmaster)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != gsf_listmaster.ListMasterID)
            {
                return BadRequest();
            }

            db.Entry(gsf_listmaster).State = EntityState.Modified;

            try
            {
                await db.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!gsf_ListMasterExists(id))
                {
                    return NotFound();
                }
                else
                {
                    throw;
                }
            }

            return StatusCode(HttpStatusCode.NoContent);
        }