Exemplo n.º 1
0
 // DELETE api/<controller>/5
 public void Delete(Role_Employee ET)
 {
     ET.Delete_Role_Employee(ET);
 }
Exemplo n.º 2
0
 // POST api/<controller>
 public void Post([FromBody] Role_Employee t)
 {
     t.insertRole_Employee();
 }
Exemplo n.º 3
0
 // PUT api/<controller>/5
 public int Put(Role_Employee Et)
 {
     return(Et.UpdateRole_Employee(Et));
 }
Exemplo n.º 4
0
        // GET api/<controller>/5
        public IEnumerable <Role_Employee> Get()
        {
            Role_Employee t = new Role_Employee();

            return(t.getRole_Employee());
        }