예제 #1
0
        public async Task <dynamic> GetProjectTodoCount(GetProjectTodoListInput input)
        {
            var parameters = new DynamicParameters();

            parameters.Add("@userid", AbpSession.UserId.Value);
            parameters.Add("@hasComplete", input.IsComplete);
            var data = await _dynamicRepository.QueryFirstAsync($"exec spGetTodoTasksCount @userid,@hasComplete", parameters);

            return(data);
        }