public override async Task <EvaluationMessageResponse> DeleteSeries(SeriesEvaluationAdd request, ServerCallContext context) { try { var series = _mapper.Map <SeriesEvaluationAdd, Series>(request); var response = await _evaluation.DeleteSeries(series); if (response) { throw new Exception("Ne moze serija da obrise"); } return(new EvaluationMessageResponse() { Signal = true }); } catch (Exception e) { _logger.LogError(e, "ERROR"); return(new EvaluationMessageResponse() { Signal = false }); } }