public async Task <IActionResult> CategoryDelete(string system, string name)
        {
            _logger.LogDebug($"Delete category request ({name}) is requested");
            var sysrec = await _dbHandler.GetSystemAsync(system);

            var respond = await _dbHandler.DeleteCategoryAsync(name, sysrec);

            if (respond.MessageType == MessageType.NOK)                              /* If category does not exist, error */
            {
                _logger.LogWarning($"Category ({name}) does not exist");
                return(BadRequest(new GeneralMessage()
                {
                    Message = respond.MessageText
                }));
            }
            _logger.LogInformation($"Category ({name}) has been deleted");
            return(Ok(new GeneralMessage()
            {
                Message = respond.MessageText
            }));
        }