Tp

Tirumal p

Technical Support Engineer at Blue Arcus

Tirumal P has been working in the IT industry since 2019. Tirumal started their career at Lince Soft Solutions Private Limited as a Linux Administrator. In 2021, they moved to Megasoft as a Linux Administrator. Currently, they are employed at Blue Arcus Technologies, Inc. as a Technical Support Engineer since 2022.

package com.example.demo.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.web.bind.annotation.GetMapping;

import org.springframework.web.bind.annotation.PathVariable;

import org.springframework.web.bind.annotation.PostMapping;

import org.springframework.web.bind.annotation.RequestBody;

import org.springframework.web.bind.annotation.RestController;

import com.example.demo.model.Course;

import com.example.demo.service.CourseService;

@RestController

public class CourseController {

@Autowired

CourseService courseService;

@GetMapping("/topics/{topicId}/courses")

public List<Course> getAllCourses(@PathVariable String topicId){

return courseService.getAllCourses(topicId);

}

@GetMapping("/topics/{topicId}/courses/{id}")

public Course getCourse(@PathVariable String id){

return courseService.getCourse(id);

}

@PostMapping("/topics/{topicId}/courses")

public void addCourse(@RequestBody Course course, @PathVariable String topicId){

course.setTopic(topicId);

courseService.addCourse(course);

}

@PostMapping("/topics/{topicId}/courses/{id}")

public void updateCourse(@RequestBody Course course, @PathVariable String id, @PathVariable String topicId){

course.setTopic(topicId);

courseService.updateCourse(course);

}

@PostMapping("/topics/{topicId}/courses/{id}/delete")

public void deleteCourse(@PathVariable String id){

courseService.deleteCourse(id);

}

}

Links

Peers

View in org chart

Timeline

  • Technical Support Engineer

    July, 2022 - present