public IHttpActionResult PutCollection(int?id, CollectionModel data)
        {
            try
            {
                if (!id.HasValue)
                {
                    return(BadRequest());
                }

                var result = oSvc.PutCollection(id.Value, data);
                return(Ok(result));
            }
            catch (Exception ex)
            {
                ExceptionModel exc = oException.Set(ex);
                return(Ok(exc));
            }
        }