public bool Create(StageForCreationDto stageForCreation) { try { Stage DataEntity = _mapper.Map <Stage>(stageForCreation); _repository.Create(DataEntity); _repository.Save(); return(true); } catch (Exception ex) { _logger.LogError($"Something went wrong inside CreateStage action: {ex.Message}"); throw new Exception(); } }