コード例 #1
0
        public async Task <ActionResult> updateEmployeeProfile([FromBody] Employee Employee)
        {
            await context.update(Employee.employeeEmail, Employee);

            return(Ok(Employee));
        }
コード例 #2
0
        public async Task <object> updateEmployeeProfile([FromBody] Employee Employee)
        {
            var flag = context.update(Employee.employeeEmail, Employee);

            return(flag);
        }