public bool SetUserImage(int userId, int imageId) { try { var link = new Link(); link.UsId = userId; link.AwId = imageId; _imageDao.SaveLink(link); return(true); } catch (Exception e) { logIt(e.Message); return(false); } }
public bool SetUserImage(int userId, int imageId) { try { var link = new Link(); link.UsId = userId; link.AwId = imageId; _imageDao.SaveLink(link); return(true); } catch (Exception e) { logIt(e.Message); return(false); } }