public async Task <ActionResult> updateEmployeeProfile([FromBody] Employee Employee) { await context.update(Employee.employeeEmail, Employee); return(Ok(Employee)); }
public async Task <object> updateEmployeeProfile([FromBody] Employee Employee) { var flag = context.update(Employee.employeeEmail, Employee); return(flag); }