Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Injectable()
- export class CompleteTunjanganPotonganOtomatisService {
- private api: GaService<CompleteTunjanganPotonganOtomatis | any>;
- constructor(private gaServiceFactory: GaServiceFactory<CompleteTunjanganPotonganOtomatis | any>) {
- this.api = this.gaServiceFactory.assemble({
- apiUri: 'private/completeTunjanganPotonganOtomatis',
- singleKey: 'tunjanganPotonganOtomatis',
- multiKey: 'tunjanganPotonganOtomatiss',
- apiMessages: {},
- modelSignature: TunjanganPotonganOtomatis
- });
- }
- public add(completeTunjanganPotonganOtomatis: TunjanganPotonganOtomatis[]): Observable<TunjanganPotonganOtomatis[]> {
- return this.api.postRawResponseRaw(completeTunjanganPotonganOtomatis).pipe(
- map(
- (result: any) => {
- return result.data;
- }
- )
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement