/// <summary>
        /// Client Delete
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        /// <param name="eventClient"> </param>
        public ClientDeleteResponse ClientDelete(ClientDeleteRequest clientDeleteRequest)
        {
            // Using model
            Model.ModelClient.Client clientToBeDeleted = new Model.ModelClient.Client(clientDeleteRequest.headerInfo);
            clientToBeDeleted.UID = clientDeleteRequest.clientUID;

            // Using Repository
            ClientDeleteResponse response = new ClientDeleteResponse();

            response.responseStatus = RepClient.Delete(clientToBeDeleted);

            return(response);
        }
Ejemplo n.º 2
0
 public void Any(ClientDeleteRequest request)
 {
     Listing.Delete(request.Id);
 }