Beispiel #1
0
        public async Task <string> Update([GraphQLSession] AuthSession session, [Service] ITaskCommandService service, UpdateTaskVm model)
        {
            await service.Update(session.CompanyId, model);

            return(Ok());
        }
Beispiel #2
0
        public async Task <string> Complete([GraphQLSession] AuthSession session, [Service] ITaskCommandService service, string projectId, string id)
        {
            await service.Complete(session.CompanyId, projectId, id);

            return(Ok());
        }
Beispiel #3
0
 public async Task <string> Add([GraphQLSession] AuthSession session, [Service] ITaskCommandService service, CreateTaskVm model)
 {
     return(Ok(await service.Create(session.CompanyId, model)));
 }