コード例 #1
0
        //update method
        public int updateOwner(int id, owner owner)
        {
            try
            {
                owner.owner_last_modified_date = DateTime.Now;
                owner.owner_last_modified_by   = HttpContext.Current.User.Identity.Name;

                return(OwnersService.updateOwnerDB(id, owner));
            }
            catch (Exception)
            {
                throw;
            }
        }