Exemplo n.º 1
0
        // PUT: api/Project/5
        public void Put(int id, Project value)
        {
            Project_Repository prorepo = new Project_Repository();

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

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

            prorepo.CreateProject(value);
        }