public Task HandleAsync(AddEditWeeklyReportPhrCommand request) { var cacheKey = _cacheConfig.GetCacheKey(new GetProjectCachingQuery() { ProjectId = request.Report.ProjectId }); _cache.Remove(cacheKey); return(Task.CompletedTask); }
public async Task <IActionResult> AddEditWeeklyReport([FromBody] AddEditWeeklyReportPhrCommand command) { await _mediator.SendAsync(command); return(Ok()); }