public DeleteCartResponse DeleteCare(int id) { DeleteCartResponse response = new DeleteCartResponse(); response.delete = BaseBLL <TakeBLL> .Instance.DeleteCart(id); return(response); }
public DeleteCartResponse DeleteCart(DeleteCartRequest request) { DeleteCartResponse response = new DeleteCartResponse(); response.delete = BaseBLL <TakeBLL> .Instance.DeleteCart(request.id); response.State = true; return(response); }