public HttpResponseMessage Delete(int id)
        {
            HttpResponseMessage response;

            try
            {
                var optStatus = SecurityMfRepository.DeleteSecurityMfData(id);
                response = optStatus != null && optStatus.Status == true?
                           Request.CreateResponse <OperationStatus>(HttpStatusCode.OK, optStatus)
                               : new HttpResponseMessage(HttpStatusCode.NotFound);
            }
            catch (Exception exception)
            {
                response = Request.CreateErrorResponse(HttpStatusCode.InternalServerError, exception.Message);
            }
            return(response);
        }
        public void DeleteSingleSecurityMfNoExceptionTest()
        {
            var status = _repository.DeleteSecurityMfData(2153);

            Assert.AreEqual(status.Status, true);
        }