public IHttpActionResult Post(Developer developer)
 {
     using (AngularContext objDemoContext = new AngularContext())
     {
         objDemoContext.Developer.Add(developer);
         objDemoContext.SaveChanges();
     }
     return CreatedAtRoute("DefaultApi", new { Id = developer.DeveloperId }, developer);
 }
        public IHttpActionResult Put(int id, Developer developer)
        {
            if (id != developer.DeveloperId)
            {
                return BadRequest();
            }
            using (AngularContext contextObj = new AngularContext())
            {
                Developer getEmployee = contextObj.Developer.Find(id);
                getEmployee.Name = developer.Name;
                getEmployee.Salary = developer.Salary;
                contextObj.SaveChanges();

                return CreatedAtRoute("DefaultApi", new { Id = developer.DeveloperId }, developer);
            }
        }