Exemplo n.º 1
0
        public bool DeleteStaff([FromBody] long staffInfoId)
        {
            bool result = false;

            try
            {
                if (staffInfoId > 0)
                {
                    result = _staffService.DeleteStaffIdById(staffInfoId);
                }
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message);
            }

            return(result);
        }