Beispiel #1
0
        // PUT: api/Project/5
        public void Put(int id, Project value)
        {
            Project_Repository prorepo = new Project_Repository();

            prorepo.Edit(value, id);
        }
Beispiel #2
0
        // DELETE: api/Project/5
        public void Delete(int id)
        {
            Project_Repository prorepo = new Project_Repository();

            prorepo.Delete(id);
        }
Beispiel #3
0
        // POST: api/Project
        public void Post(Project value)
        {
            Project_Repository prorepo = new Project_Repository();

            prorepo.CreateProject(value);
        }