public IHttpActionResult Put(GetTermSignatureModel model)
        {
            var signatureData = String.Empty;

            var data = deliveryNoteSignaturesManager.GetEntities(o => o.TermId == model.id).FirstOrDefault();
            if(data != null)
            {
                signatureData = data.Signature;
            }

            return Ok(new { SignatureData = signatureData });
        }
Esempio n. 2
0
        public IHttpActionResult Put(GetTermSignatureModel model)
        {
            var signatureData = String.Empty;

            var data = deliveryNoteSignaturesManager.GetEntities(o => o.TermId == model.id).FirstOrDefault();

            if (data != null)
            {
                signatureData = data.Signature;
            }

            return(Ok(new { SignatureData = signatureData }));
        }