예제 #1
0
        public IHttpActionResult Delete(Guid id)
        {
            try
            {
                if (id == Guid.Empty)
                {
                    return(BadRequest("EmployeeDetail Id cannot be empty."));
                }

                _employeedetailService.Delete(id);

                return(Ok());
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }