예제 #1
0
        public IActionResult DeleteEmployee(int id)
        {
            var employeee = _employeesService;

            _employeesService.DeleteEmployee(id);
            return(Ok());
        }
예제 #2
0
        public async Task <object> Delete(string UID)
        {
            bool isValid = await _employeeService.DeleteEmployee(UID);

            _notification.SetNotificationMessage(isValid, Title, UID);

            return(_notification);
        }
예제 #3
0
        public async Task <IActionResult> DeleteEmployee(int id)
        {
            await _employeesService.DeleteEmployee(id);

            return(Ok());
        }