示例#1
0
        public bool Update(string id, string firstname, string lastname, string email, string phone, string password, decimal donate)
        {
            var result = backer_.UpdateBacker(new UpdateBacker
            {
                Id        = Convert.ToInt32(id),
                NewDonate = donate,
                Email     = email,
                FirstName = firstname,
                LastName  = lastname,
                Password  = password,
                Phone     = phone
            });

            return(result);
        }
示例#2
0
 public BackerOption UpdateBacker(int id, BackerOption backerOpt)
 {
     return(backerService.UpdateBacker(id, backerOpt));
 }
        public Backer UpdateBacker(BackerOptions backerOptions, int id)
        {
            Backer backer = backerService.UpdateBacker(backerOptions, id);

            return(backer);
        }