20 lines
483 B
Plaintext
20 lines
483 B
Plaintext
package com.healthcare.ohctech.service;
|
|
|
|
import com.healthcare.ohctech.dto.ConfigDto;
|
|
import com.healthcare.ohctech.entity.Config;
|
|
import org.springframework.data.domain.Page;
|
|
import org.springframework.data.domain.Pageable;
|
|
|
|
public interface ConfigService {
|
|
|
|
Config getConfigById(Long configId);
|
|
|
|
Page<Config> getAllConfigs(Pageable pageable);
|
|
|
|
void addConfig(ConfigDto configDto);
|
|
|
|
Config updateConfig(ConfigDto configDto);
|
|
|
|
void deleteConfig(Long configId);
|
|
}
|