示例#1
0
        public async Task <IActionResult> GetDaylog(DateTime date)
        {
            DaylogDto daylog = await _repo.GetDaylog(this.CurrentUserId(), date);

            return(Ok(daylog));
        }
示例#2
0
        public async Task <IActionResult> Get(int id)
        {
            DaylogDto daylog = await _repo.GetDaylog(id);

            return(Ok(daylog));
        }