package com.example.demo.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.example.demo.common.APIResponse;
import com.example.demo.service.NotificationService;

@RestController
@RequestMapping("api/notification")
public class NotificationController {

	@Autowired
	private NotificationService service;
	
	
	@GetMapping("deposite")
	private APIResponse deposite() {
		APIResponse api = service.deposite();
		return api;
	}
}
