Example #1
0
 public IHttpActionResult EndTask(int taskId, string userId)
 {
     _tasksService.EndTask(taskId, userId);
     return(Ok());
 }
Example #2
0
        public IHttpActionResult EndTask([FromBody] int taskId)
        {
            int result = _taskManagerBL.EndTask(taskId);

            return(Ok());
        }