public void Update(User accountUser)
{
try
{
accountUser.Name = accountUser.Name.Substring(0, 1).ToUpper() +
accountUser.Name.Substring(1, accountUser.Name.Length - 1);
this.accountUserRepository.Update(accountUser);
}
catch (DataAccessLayerException)
{
throw;
}
catch (Exception ex)
{
throw new ServiceLayerException(ex);
}
}