public async Task <IActionResult> LogVideoAction([FromBody] LogVideoActionVm model) { await _videoService.LogVideoAction(model); return(this.Ok()); }
public async Task LogVideoAction(LogVideoActionVm model) { await _videoRepository.LogVideoAction(model.UserId, model.VideoId, model.UserActionType); }