protected new IActionResult Response(IActionResult action)
        {
            if (IsValidOperation())
            {
                return(action);
            }

            return(BadRequest
                   (
                       new
            {
                success = false,
                errors = _notifications.GetNotifications()
            }
                   ));
        }
        protected new IActionResult Response(int statusCode, object result = null)
        {
            if (IsValidOperation())
            {
                return(StatusCode(statusCode, new
                {
                    success = true,
                    data = result
                }));
            }

            return(BadRequest(new
            {
                success = false,
                errors = _notifications.GetNotifications()
            }));
        }