コード例 #1
0
        public ActionResult SaveChangedPSS([FromBody] PSSLinkModel pssLink)
        {
            pssLink.HospitalId = m_user.HospitalId;
            var guid = m_PSSLinkService.CreateUpdatePSSLink(pssLink);

            return(Ok(guid));
        }
コード例 #2
0
 private SmsConfigurationDTO ModelToDataDTO(PSSLinkModel PSSLink)
 {
     return(new SmsConfigurationDTO()
     {
         Id = PSSLink.Id,
         HospitalId = PSSLink.HospitalId,
         Name = PSSLink.Name,
         Value = PSSLink.Link,
         IsActive = PSSLink.active
     });
 }
コード例 #3
0
 public Guid CreateUpdatePSSLink(PSSLinkModel PSSLinkDto)
 {
     return(m_PSSLinkDataService.CreateUpdatePSSLink(ModelToDataDTO(PSSLinkDto)));
 }