public ActionResult SaveChangedPSS([FromBody] PSSLinkModel pssLink) { pssLink.HospitalId = m_user.HospitalId; var guid = m_PSSLinkService.CreateUpdatePSSLink(pssLink); return(Ok(guid)); }
private SmsConfigurationDTO ModelToDataDTO(PSSLinkModel PSSLink) { return(new SmsConfigurationDTO() { Id = PSSLink.Id, HospitalId = PSSLink.HospitalId, Name = PSSLink.Name, Value = PSSLink.Link, IsActive = PSSLink.active }); }
public Guid CreateUpdatePSSLink(PSSLinkModel PSSLinkDto) { return(m_PSSLinkDataService.CreateUpdatePSSLink(ModelToDataDTO(PSSLinkDto))); }