Esempio n. 1
0
        public Guid CreateCallForServiceProperty(Guid callForServiceId, CallForServicePropertyDetails details)
        {
            var property = CreateSummaryEntity(callForServiceId, details,
                                               (agency, id) => new PublicSafetyProperty(IdentityId, agency, id),
                                               (summary, CallForServiceProperty) => summary.Property.Add(CallForServiceProperty));

            return(property.Id);
        }
Esempio n. 2
0
 public void UpdateCallForServiceProperty(CallForServicePropertyDetails details)
 {
     Update <PublicSafetyProperty, CallForServicePropertyDetails>(details);
 }
 public CallForServicePropertyDetails CreateProperty(Guid id, CallForServicePropertyDetails section)
 {
     section.Id = _summaryCommandService.CreateCallForServiceProperty(id, section);
     return(section);
 }
 public void UpdateProperty(CallForServicePropertyDetails section)
 {
     _summaryCommandService.UpdateCallForServiceProperty(section);
 }