Checkpoint kinda workls. Ill take a nap and go bacjk to work

This commit is contained in:
Filip Izydorczyk
2020-09-29 17:21:34 +02:00
parent 4efedf7f35
commit 3ad4d3a84b
7 changed files with 121 additions and 7 deletions

View File

@ -0,0 +1,22 @@
package com.plannaplan.services;
import com.plannaplan.entities.Commision;
import com.plannaplan.repositories.CommisionRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class CommisionService {
@Autowired
private CommisionRepository repo;
public CommisionService() {
}
public Commision save(Commision commision) {
this.repo.save(commision);
return commision;
}
}