public Task HandleAsync(AddEditWeeklyReportPhrCommand request)
            {
                var cacheKey = _cacheConfig.GetCacheKey(new GetProjectCachingQuery()
                {
                    ProjectId = request.Report.ProjectId
                });

                _cache.Remove(cacheKey);

                return(Task.CompletedTask);
            }
コード例 #2
0
        public async Task <IActionResult> AddEditWeeklyReport([FromBody] AddEditWeeklyReportPhrCommand command)
        {
            await _mediator.SendAsync(command);

            return(Ok());
        }