public ActionResult <SuccessResponse> DeleteById(int id)
        {
            int          code     = 200;
            BaseResponse response = null;

            try
            {
                _service.DeleteById(id);
                response = new SuccessResponse();
            }
            catch (Exception ex)
            {
                response = new ErrorResponse(ex.Message);
                code     = 500;
                base.Logger.LogError(ex.ToString());
            }
            return(StatusCode(code, response));
        }