eHealthAfrica/direct-delivery-dashboard

View on GitHub
src/app/configurations/allocations/targetpop/targetPop.service.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * Created by ehealthafrica on 9/1/15.
 */

angular.module('allocations')
  .service('targetPopulationService', function (dbService) {
    var service = this

    service.saveMany = function (docs) {
      return dbService.saveDocs(docs)
    }

    service.update = function (doc) {
      return dbService.update(doc)
    }
  })