public async Task <IActionResult> DeleteSecurity([FromRoute] long id)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            var security = await _securityData.GetSecurity(id);

            if (security == null)
            {
                return(NotFound());
            }

            await _securityData.DeleteSecurity(id);

            return(Ok(security));
        }